mirror of
https://gitee.com/goploy/goploy.git
synced 2024-12-04 13:11:28 +08:00
15 lines
241 B
Batchfile
15 lines
241 B
Batchfile
::go build linux
|
|
SET GOOS=linux
|
|
SET GOARCH=amd64
|
|
go build -o goploy main.go
|
|
|
|
::go build mac
|
|
SET GOOS=darwin
|
|
SET GOARCH=amd64
|
|
go build -o goploy.mac main.go
|
|
|
|
::go build windows
|
|
SET GOOS=windows
|
|
SET GOARCH=amd64
|
|
go build -o goploy.exe main.go
|