diff --git a/Build/runbuild.cmd b/Build/runbuild.cmd index c10f4316..60648f66 100644 --- a/Build/runbuild.cmd +++ b/Build/runbuild.cmd @@ -1,2 +1,5 @@ cls -powershell -Command "& { [Console]::WindowWidth = 150; [Console]::WindowHeight = 50; Start-Transcript %~dp0runbuild.txt; Import-Module %~dp0..\Tools\PSake\psake.psm1; Invoke-psake %~dp0..\Build\build.ps1 %*; Stop-Transcript; }" \ No newline at end of file +powershell -Command "& { [Console]::WindowWidth = 150; [Console]::WindowHeight = 50; Start-Transcript %~dp0runbuild.txt; Import-Module %~dp0..\Tools\PSake\psake.psm1; Invoke-psake %~dp0..\Build\build.ps1 %*; Stop-Transcript; }" + +ECHO %ERRORLEVEL% +EXIT /B %ERRORLEVEL% \ No newline at end of file