diff --git a/Build/runbuild.cmd b/Build/runbuild.cmd index 60648f66..e6dc8e57 100644 --- a/Build/runbuild.cmd +++ b/Build/runbuild.cmd @@ -1,5 +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; }" +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; exit !($psake.build_success); }" ECHO %ERRORLEVEL% EXIT /B %ERRORLEVEL% \ No newline at end of file