Make build.bat return a proper errorcode if the build fails.
This commit is contained in:
parent
c7ff7663e4
commit
ba339f79ec
|
@ -17,5 +17,8 @@ if "%CONFIG%" == "" set CONFIG=Debug
|
||||||
|
|
||||||
if "%1" == "" msbuild pgsql.sln /verbosity:detailed /p:Configuration=%CONFIG%
|
if "%1" == "" msbuild pgsql.sln /verbosity:detailed /p:Configuration=%CONFIG%
|
||||||
if not "%1" == "" vcbuild %1.vcproj %CONFIG%
|
if not "%1" == "" vcbuild %1.vcproj %CONFIG%
|
||||||
|
SET E=%ERRORLEVEL%
|
||||||
|
|
||||||
cd %STARTDIR%
|
cd %STARTDIR%
|
||||||
|
|
||||||
|
exit /b %E%
|
||||||
|
|
Loading…
Reference in New Issue