Fixes #832, add debian package and coreclr prereq check to the build.
PR Feedback
This commit is contained in:
parent
ea4f15bb5a
commit
adc6aa7eff
4 changed files with 216 additions and 34 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue