浏览代码

Merge pull request #29145 from Microsoft/jjh/make

Windows: make.ps1 Throw exception on failure
Sebastiaan van Stijn 8 年之前
父节点
当前提交
080d7a5543
共有 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 -ForegroundColor Red  "     \/        \/             \/     \/ "
     Write-Host -ForegroundColor Red  "     \/        \/             \/     \/ "
     Write-Host
     Write-Host
+
+    Throw $_
 }
 }
 Finally {
 Finally {
     if ($global:pushed) { Pop-Location }
     if ($global:pushed) { Pop-Location }