add compile arg

This commit is contained in:
root committed 2018-12-12 17:00:49 +08:00
1 parent 6fe7a91b27
commit 5f8c3e65d8
1 file changed
+2 -2
+2 -2
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