From 43eafba7a75a2143b27754e8ec60dcd15946d6f8 Mon Sep 17 00:00:00 2001 From: Vasily Date: Wed, 26 Dec 2018 18:20:13 +0100 Subject: [PATCH] Add error handling to master --- build_windows.cmd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build_windows.cmd b/build_windows.cmd index e092cc8..1fe6045 100644 --- a/build_windows.cmd +++ b/build_windows.cmd @@ -14,17 +14,20 @@ IF NOT DEFINED project_dir ( REM As per above link, %~dp0 expands the zeroth arg to a drive letter and path only. SET folder_path=%~dp0 REM Project dir is up two dirs from the file. - SET project_dir=%folder_path%\..\..\ + SET project_dir=%folder_path% ) ECHO %top_level_activity%: Calling build script. CALL %project_dir%\build_scripts\win\build_windows.cmd +IF ERRORLEVEL 1 EXIT /B 1 ECHO %top_level_activity%: Calling deployment script. CALL %project_dir%\build_scripts\win\deploy_windows.cmd +IF ERRORLEVEL 1 EXIT /B 1 ECHO %top_level_activity%: Calling packaging script. CALL %project_dir%\build_scripts\win\package_windows.cmd +IF ERRORLEVEL 1 EXIT /B 1 CD %original_dir%