fileboy/build-linux.bat

8 lines
137 B
Batchfile
Raw Normal View History

2018-09-10 08:23:27 +00:00
@echo off
echo build start...
SET CGO_ENABLED=0
SET GOOS=linux
SET GOARCH=amd64
go build -ldflags "-s -w"
echo build success
pause