|
@@ -1,8 +1,18 @@
|
|
|
|
|
|
|
|
|
|
+@echo off
|
|
|
|
|
+setlocal enabledelayedexpansion
|
|
|
|
|
+
|
|
|
xmake clean -a
|
|
xmake clean -a
|
|
|
set VM_64bit=0
|
|
set VM_64bit=0
|
|
|
set LUAT_USE_GUI=n
|
|
set LUAT_USE_GUI=n
|
|
|
xmake g --pkg_searchdirs=%cd%\pkgs
|
|
xmake g --pkg_searchdirs=%cd%\pkgs
|
|
|
|
|
+if !errorlevel! neq 0 exit /b !errorlevel!
|
|
|
xmake f -a x86 -y
|
|
xmake f -a x86 -y
|
|
|
|
|
+if !errorlevel! neq 0 exit /b !errorlevel!
|
|
|
|
|
+
|
|
|
@REM xmake f -m debug
|
|
@REM xmake f -m debug
|
|
|
xmake -y
|
|
xmake -y
|
|
|
|
|
+if !errorlevel! neq 0 exit /b !errorlevel!
|
|
|
|
|
+
|
|
|
|
|
+echo Build completed successfully!
|
|
|
|
|
+exit /b 0
|