feat 移动服务器发布工具

This commit is contained in:
2025-12-13 18:41:57 +08:00
parent bc656247c9
commit 6e19d93f5e
10 changed files with 22 additions and 90 deletions

View File

@@ -0,0 +1,22 @@
@echo off
setlocal
cd ../../../Server/
set GOOS=linux
set GOARCH=amd64
echo [INFO] Build started...
echo.
for %%p in (gateway scene) do (
echo [BUILD] server-%%p...
cd %%p
go build -o server-%%p
move server-%%p .. >nul
cd ..
)
echo.
echo [INFO] Build finished successfully!
endlocal