Skip to content

Commit

Permalink
Keep errorlevel
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgH93 committed Jun 3, 2020
1 parent 64a9320 commit 0ec5283
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clean_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ if exist bin\Debug (
)

echo Build completed successfully
set BUILD_FAILED=0
goto done

:failed
set BUILD_FAILED=%ERRORLEVEL%
echo Build failed

:done
Expand All @@ -84,3 +86,5 @@ set BONJOUR_SDK_HOME=
set B_QT_FULLPATH=
set savedir=
set cmake_gen=

EXIT /B %BUILD_FAILED%

0 comments on commit 0ec5283

Please sign in to comment.