Throw when a repo fails to build

This commit is contained in:
Victor Hurdugaci 2014-12-17 15:52:24 -08:00
parent b3eaf788dd
commit a92e2e9c00
1 changed files with 5 additions and 0 deletions

View File

@ -213,6 +213,11 @@ var buildTarget = "compile"
Log.Info(string.Format("Build {0} succeeded", repo)); Log.Info(string.Format("Build {0} succeeded", repo));
} }
} }
if (failed.Any())
{
throw new Exception("One or more repos failed to build");
}
} }
#only-install target='install' #only-install target='install'