Reorder makefile
This commit is contained in:
parent
d08af46525
commit
5ace5f0c97
1 changed files with 4 additions and 4 deletions
|
@ -1,16 +1,16 @@
|
||||||
NAME = rexclient
|
NAME = rexclient
|
||||||
|
|
||||||
|
build: commit.txt
|
||||||
|
go build -tags no_emoji -trimpath -ldflags="-s -w" -buildvcs=false -o $(NAME)
|
||||||
|
|
||||||
run: commit.txt
|
run: commit.txt
|
||||||
go run .
|
go run .
|
||||||
|
|
||||||
debug: commit.txt
|
debug: commit.txt
|
||||||
go run -tags debug,hints .
|
go run -tags debug,hints .
|
||||||
|
|
||||||
build: commit.txt
|
|
||||||
go build -tags no_emoji -trimpath -ldflags="-s -w" -buildvcs=false -o $(NAME)
|
|
||||||
|
|
||||||
commit.txt:
|
commit.txt:
|
||||||
go generate
|
go generate
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f rexclient
|
rm -f $(NAME)
|
||||||
|
|
Loading…
Add table
Reference in a new issue