mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-07 19:47:50 +08:00
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 not "%1" == "" vcbuild %1.vcproj %CONFIG%
|
||||
SET E=%ERRORLEVEL%
|
||||
|
||||
cd %STARTDIR%
|
||||
|
||||
exit /b %E%
|
||||
|
Loading…
Reference in New Issue
Block a user