浏览代码

Windows: make.ps1 Throw exception on failure

Signed-off-by: John Howard <jhoward@microsoft.com>
John Howard 8 年之前
父节点
当前提交
8c22a00b77
共有 1 个文件被更改,包括 2 次插入0 次删除
  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 }