Add Makefile

This commit is contained in:
Victor Truong 2020-07-27 00:28:46 -07:00
parent 8b6f5d360c
commit 558803a0de
2 changed files with 13 additions and 0 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
bin/
.env

12
Makefile Normal file
View file

@ -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}