Windows: make.ps1 Throw exception on failure

Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 8c22a00b77043db50a1b4837a66dfb27dab3f070
Component: engine
This commit is contained in:
John Howard
2016-12-05 09:22:42 -08:00
parent 6be6989ae5
commit 7c4ac2a285

View File

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