-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved exit code check to ponyprog.pro, where ponyprog.bat is created
- Loading branch information
Showing
2 changed files
with
2 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -380,7 +380,7 @@ win32 { | |
|
||
win32setup.depends = install | ||
win32setup.target = win32setup | ||
win32setup.commands = echo "$$ISCC /DAPPNAME=$$APP_NAME /DAPPVERSION=$$APP_VERSION /DAPPYEAR=$$APP_YEAR $$PWD/distribution/innosetup/ponyprog.iss" >ponyprog.bat | ||
win32setup.commands = echo "$$ISCC /DAPPNAME=$$APP_NAME /DAPPVERSION=$$APP_VERSION /DAPPYEAR=$$APP_YEAR $$PWD/distribution/innosetup/ponyprog.iss || exit /b 1" >ponyprog.bat | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
lancos
Author
Owner
|
||
|
||
QMAKE_EXTRA_TARGETS += win32setup | ||
|
||
|
I tried to do this several times in before submitting PR #37, however I was not able to find a solution working on both AppVeyor and local build on Windows.
AppVeyor can be fixed in this way
^|^| exit /b 1
, but locally won't work.I used that batch for cycle as a final workaround to achieve the goal after a day of attempts.
Maybe it is better to revert this commit until someone finds a more elegant solution.