diff deploy/win64/build-and-package.bat @ 1841:9f26f92bf89f

Update for Qt 5.11; some more error-handling, + ensure clean build in rebuild script
author Chris Cannam
date Tue, 05 Jun 2018 16:24:08 +0100
parents fdcd956b5d32
children a594146c1ed8
line wrap: on
line diff
--- a/deploy/win64/build-and-package.bat	Tue Jun 05 13:32:28 2018 +0100
+++ b/deploy/win64/build-and-package.bat	Tue Jun 05 16:24:08 2018 +0100
@@ -4,25 +4,25 @@
 
 if not exist "C:\Program Files (x86)\SMLNJ\bin" (
 @   echo Could not find SML/NJ, required for Repoint
-@   exit /b
+@   exit /b 2
 )
 
 if not exist "C:\Program Files (x86)\WiX Toolset v3.11\bin" (
 @   echo Could not find WiX Toolset
-@   exit /b
+@   exit /b 2
 )
 
 @echo Rebuilding 32-bit
 
 cd %STARTPWD%
-rem del /q /s build_win32
+del /q /s build_win32
 call .\deploy\win64\build-32.bat
 if %errorlevel% neq 0 exit /b %errorlevel%
 
 @echo Rebuilding 64-bit
 
 cd %STARTPWD%
-rem del /q /s build_win64
+del /q /s build_win64
 call .\deploy\win64\build-64.bat
 if %errorlevel% neq 0 exit /b %errorlevel%