Apply .gitignore rules

This commit is contained in:
皮蛋13361098506
2025-01-06 16:21:36 +08:00
parent 1b77f62820
commit ccd2c530cf
580 changed files with 69806 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#!/bin/bash
# 设置 Go 环境变量,确保使用 Linux 架构
export GOOS=linux
export GOARCH=amd64
echo "开始编译..."
# 编译 Go 代码
go build -o adminServer
# 检查编译是否成功
if [ $? -eq 0 ]; then
echo "编译成功!"
else
echo "编译失败!"
fi
# 等待用户输入任意键
read -p "编译完成,按任意键继续..."
exit 1