Add build.bat

This commit is contained in:
ata
2026-07-10 10:05:53 +00:00
committed by Gitee
parent c661b218fc
commit b51c4fd257

7
build.bat Normal file
View File

@@ -0,0 +1,7 @@
@echo off
REM 构建脚本:交叉编译 Linux amd64 二进制
set GOOS=linux
set GOARCH=amd64
set CGO_ENABLED=0
go build -o app .
echo 构建完成: app.exe