Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ba339f7

Browse files
committed
Make build.bat return a proper errorcode if the build fails.
1 parent c7ff766 commit ba339f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tools/msvc/build.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@ if "%CONFIG%" == "" set CONFIG=Debug
1717

1818
if "%1" == "" msbuild pgsql.sln /verbosity:detailed /p:Configuration=%CONFIG%
1919
if not "%1" == "" vcbuild %1.vcproj %CONFIG%
20+
SET E=%ERRORLEVEL%
2021

2122
cd %STARTDIR%
23+
24+
exit /b %E%

0 commit comments

Comments
 (0)