From 558803a0dee01fb6c47a0f561b7887bd0f322d58 Mon Sep 17 00:00:00 2001 From: Victor Truong Date: Mon, 27 Jul 2020 00:28:46 -0700 Subject: [PATCH] Add Makefile --- .gitignore | 1 + Makefile | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 Makefile diff --git a/.gitignore b/.gitignore index 4c49bd7..9f96217 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ +bin/ .env diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..63f4411 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +MAIN=./cmd/jia.go + +all: run + +build: + go build -o ./bin/jia ${MAIN} + +clean: + rm -rfv ./bin + +run: + go run -race ${MAIN}