Fixes #832, add debian package and coreclr prereq check to the build.

PR Feedback
This commit is contained in:
Bryan 2016-02-18 11:39:36 -08:00
parent ea4f15bb5a
commit adc6aa7eff
4 changed files with 216 additions and 34 deletions

View file

@ -42,7 +42,7 @@ namespace Microsoft.DotNet.Cli.Build.Framework
BuildTarget target;
if (!Targets.TryGetValue(name, out target))
{
Reporter.Verbose.WriteLine($"Skipping undefined target: {name}");
throw new Exception($"Undefined target: {name}");
}
// Check if it's been completed
@ -82,6 +82,11 @@ namespace Microsoft.DotNet.Cli.Build.Framework
private BuildTargetResult ExecTarget(BuildTarget target)
{
if (target == null)
{
throw new ArgumentNullException("target");
}
var sectionName = $"{target.Name.PadRight(_maxTargetLen + 2).Yellow()} ({target.Source.White()})";
BuildReporter.BeginSection("TARGET", sectionName);