diff options
author | Wes Haggard <Wes.Haggard@microsoft.com> | 2015-01-20 03:43:14 +0300 |
---|---|---|
committer | Wes Haggard <Wes.Haggard@microsoft.com> | 2015-01-20 03:43:14 +0300 |
commit | 745a6576210b18c91e37aa4d30fc01848ef5502b (patch) | |
tree | e61d0a7c738bd07f5c015a2bb26cc6db196864ac /build.cmd | |
parent | bb32cd32b2b7c9fbbe842730775d4f239370b63e (diff) |
Make sure the msbuild exit code is the exit code for build.cmd
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -29,6 +29,7 @@ goto :AfterBuild :build %_buildprefix% %_msbuildexe% "%~dp0build.proj" /nologo /maxcpucount /verbosity:minimal /nodeReuse:false /fileloggerparameters:Verbosity=diag;LogFile="%~dp0msbuild.log";Append %* %_buildpostfix% +set BUILDERRORLEVEL=%ERRORLEVEL% goto :eof :AfterBuild @@ -36,5 +37,6 @@ goto :eof echo. :: Pull the build summary from the log file findstr /ir /c:".*Warning(s)" /c:".*Error(s)" /c:"Time Elapsed.*" "%~dp0msbuild.log" +echo Build Exit Code = %BUILDERRORLEVEL% -endlocal
\ No newline at end of file +exit /b %BUILDERRORLEVEL%
\ No newline at end of file |