add compile arg

This commit is contained in:
Jay 2018-12-12 17:00:49 +08:00
parent 6fe7a91b27
commit 5f8c3e65d8
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
build:
go-bindata -pkg schema -ignore .git -o module/schema/static.go schema/
GOOS=linux go build -o mtfosbot .
GOOS=linux go build -o mtfosbot -ldflags "-s -w" .
clean:
rm -rf mtfosbot && go clean
rm -rf mtfosbot && go clean