mirror of
https://github.com/cjdenio/jia.git
synced 2024-11-21 07:13:38 +00:00
Add Makefile
This commit is contained in:
parent
8b6f5d360c
commit
558803a0de
2 changed files with 13 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
bin/
|
||||
.env
|
||||
|
|
12
Makefile
Normal file
12
Makefile
Normal 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}
|
Loading…
Reference in a new issue