Commit ba339f79 authored by Magnus Hagander's avatar Magnus Hagander

Make build.bat return a proper errorcode if the build fails.

parent c7ff7663
...@@ -17,5 +17,8 @@ if "%CONFIG%" == "" set CONFIG=Debug ...@@ -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%
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment