From 9a969edf99b1e490779eee319698f49c149eb0be Mon Sep 17 00:00:00 2001 From: harry Date: Sun, 15 Jan 2023 00:31:57 -0500 Subject: [PATCH] Another Qt batch change to try to catch error. --- pipelines/qwin64_build.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pipelines/qwin64_build.bat b/pipelines/qwin64_build.bat index cebfab1e..7acf8ea8 100644 --- a/pipelines/qwin64_build.bat +++ b/pipelines/qwin64_build.bat @@ -49,7 +49,7 @@ cmake -DQT6=0 -DPUBLIC_RELEASE=%PUBLIC_RELEASE% -DSDL_INSTALL_PREFIX=%SDL_INSTAL REM nmake msbuild /m fceux.sln /p:Configuration=Release -@if %ERRORLEVEL% NEQ 0 goto end +if %ERRORLEVEL% NEQ 0 EXIT /B 1 copy src\Release\fceux.exe bin\qfceux.exe copy %PROJECT_ROOT%\src\auxlib.lua bin\. @@ -70,16 +70,16 @@ dir bin REM Create Zip Archive %PROJECT_ROOT%\vc\zip -X -9 -r %PROJECT_ROOT%\vc\%ZIP_FILENAME% bin -@if %ERRORLEVEL% NEQ 0 goto end +if %ERRORLEVEL% NEQ 0 EXIT /B 1 cd %PROJECT_ROOT%\output %PROJECT_ROOT%\vc\zip -X -9 -u -r %PROJECT_ROOT%\vc\%ZIP_FILENAME% palettes luaScripts tools -@if %ERRORLEVEL% NEQ 0 goto end +if %ERRORLEVEL% NEQ 0 EXIT /B 1 mkdir doc copy *.chm doc\. %PROJECT_ROOT%\vc\zip -X -9 -u -r %PROJECT_ROOT%\vc\%ZIP_FILENAME% doc -@if %ERRORLEVEL% NEQ 0 goto end +if %ERRORLEVEL% NEQ 0 EXIT /B 1 cd %PROJECT_ROOT%