打包文件 2024年6月7日11:34:42
parent
f79557ae04
commit
e59eb02a27
|
|
@ -0,0 +1,5 @@
|
|||
set CGO_ENABLED=0
|
||||
set GOOS=linux
|
||||
set GOARCH=amd64
|
||||
go build -o main-linux server/main.go
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
set CGO_ENABLED=0
|
||||
set GOOS=windows
|
||||
set GOARCH=amd64
|
||||
go build -o main-windows.exe server/main.go
|
||||
Loading…
Reference in New Issue