add compile arg

This commit is contained in:
Jay 2018-12-12 17:00:49 +08:00
parent 6fe7a91b27
commit 5f8c3e65d8

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