fileboy/build-linux.bat
2018-09-30 09:43:14 +08:00

8 lines
164 B
Batchfile

@echo off
echo build start...
SET CGO_ENABLED=0
SET GOOS=linux
SET GOARCH=amd64
go build -ldflags "-s -w" -o fileboy-linux-amd64.bin
echo build success
pause