Add AutoRobot directory with Windows line endings
This commit is contained in:
15
AutoRobot/Windows/Robot/build.bat
Normal file
15
AutoRobot/Windows/Robot/build.bat
Normal file
@@ -0,0 +1,15 @@
|
||||
@echo off
|
||||
cls
|
||||
REM build.bat - 编译Go项目
|
||||
setlocal
|
||||
set GOOS=windows
|
||||
set GOARCH=amd64
|
||||
|
||||
echo 正在编译...
|
||||
go build -o Robot.exe main.go
|
||||
if %errorlevel% neq 0 (
|
||||
echo 编译失败!
|
||||
exit /b %errorlevel%
|
||||
)
|
||||
echo 编译成功,生成 Robot.exe
|
||||
exit /b 0
|
||||
Reference in New Issue
Block a user