8 lines
138 B
Batchfile
8 lines
138 B
Batchfile
|
@echo off
|
||
|
echo build start...
|
||
|
SET CGO_ENABLED=0
|
||
|
SET GOOS=darwin
|
||
|
SET GOARCH=amd64
|
||
|
go build -ldflags "-s -w"
|
||
|
echo build success
|
||
|
pause
|