1
0
forked from mirrors/0ad

Propagate error for failed update-workspace.bat

If running premake fails during update workspace then update workspace
needs to exit with an error as well so the CI will actually report an
error.

According to Itms testing with powershell passing the original error is
unreliable, so just exit with one.

Fixes: #7642
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
Ralph Sennhauser
2025-02-19 21:33:28 +01:00
parent af32d386b9
commit e2511cfbac
+1 -1
View File
@@ -3,5 +3,5 @@ rem ** Create Visual Studio Workspaces on Windows **
cd /D "%~dp0"
cd ..\bin
if not exist ..\workspaces\vs2017\SKIP_PREMAKE_HERE premake5.exe --file="../premake/premake5.lua" --outpath="../workspaces/vs2017" %* vs2017
if not exist ..\workspaces\vs2017\SKIP_PREMAKE_HERE premake5.exe --file="../premake/premake5.lua" --outpath="../workspaces/vs2017" %* vs2017 || exit /b 1
cd ..\workspaces