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

8 lines
166 B
Batchfile

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