Browse Source

Windows: make.ps1 Throw exception on failure

Signed-off-by: John Howard <jhoward@microsoft.com>
John Howard 8 years ago
parent
commit
8c22a00b77
1 changed files with 2 additions and 0 deletions
  1. 2 0
      hack/make.ps1

+ 2 - 0
hack/make.ps1

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