File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,11 @@ call create_exe_binary.bat no_setlocal || exit /b 1
9
9
10
10
mingw32-make -j%NUMBER_OF_PROCESSORS% win32setup || exit /b 1
11
11
12
- @ rem ponyprog.bat is created by make win32setup
12
+ @ rem Append exit code check to commands
13
+ echo . > build/ponyprog.bat
14
+ for /f " delims=" %%i in (ponyprog.bat) do (
15
+ echo %%i ^ |^ | exit /b 1 >> build/ponyprog.bat
16
+ )
17
+ move /y build\ponyprog.bat ponyprog.bat
13
18
14
19
call ponyprog.bat || exit /b 1
Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ win32 {
380
380
381
381
win32setup.depends = install
382
382
win32setup.target = win32setup
383
- win32setup.commands = echo " $$ISCC /DAPPNAME=$$APP_NAME /DAPPVERSION=$$APP_VERSION /DAPPYEAR=$$APP_YEAR $$PWD/distribution/innosetup/ponyprog.iss || exit /b 1 " >ponyprog.bat
383
+ win32setup.commands = echo " $$ISCC /DAPPNAME=$$APP_NAME /DAPPVERSION=$$APP_VERSION /DAPPYEAR=$$APP_YEAR $$PWD/distribution/innosetup/ponyprog.iss" >ponyprog.bat
384
384
385
385
QMAKE_EXTRA_TARGETS += win32setup
386
386
You can’t perform that action at this time.
0 commit comments