mirror of
https://gitee.com/goploy/goploy.git
synced 2024-12-02 04:07:33 +08:00
16 lines
268 B
Batchfile
16 lines
268 B
Batchfile
|
statik -f -src=.\web\dist\
|
||
|
::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
|