Windows: make.ps1 Throw exception on failure

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2016-12-05 09:22:42 -08:00
parent 42aafe725f
commit 8c22a00b77

View file

@ -394,6 +394,8 @@ Catch [Exception] {
Write-Host -ForegroundColor Red " \___ / (____ /__`|____/\___ `>____ `| " Write-Host -ForegroundColor Red " \___ / (____ /__`|____/\___ `>____ `| "
Write-Host -ForegroundColor Red " \/ \/ \/ \/ " Write-Host -ForegroundColor Red " \/ \/ \/ \/ "
Write-Host Write-Host
Throw $_
} }
Finally { Finally {
if ($global:pushed) { Pop-Location } if ($global:pushed) { Pop-Location }