mirror of
https://github.com/postgres/postgres.git
synced 2025-07-24 14:22:24 +03:00
Make build.bat return a proper errorcode if the build fails.
This commit is contained in:
@ -17,5 +17,8 @@ if "%CONFIG%" == "" set CONFIG=Debug
|
||||
|
||||
if "%1" == "" msbuild pgsql.sln /verbosity:detailed /p:Configuration=%CONFIG%
|
||||
if not "%1" == "" vcbuild %1.vcproj %CONFIG%
|
||||
SET E=%ERRORLEVEL%
|
||||
|
||||
cd %STARTDIR%
|
||||
|
||||
exit /b %E%
|
||||
|
Reference in New Issue
Block a user