mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-20 15:23:56 -07:00
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>
7 lines
259 B
Batchfile
7 lines
259 B
Batchfile
@echo off
|
|
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 || exit /b 1
|
|
cd ..\workspaces
|