Incremental output goes to stdout
This commit is contained in:
parent
a7e57ae2ed
commit
68d46fefad
1 changed files with 5 additions and 5 deletions
|
@ -93,7 +93,7 @@ namespace Microsoft.DotNet.Tools.Build
|
||||||
// rebuild if empty inputs / outputs
|
// rebuild if empty inputs / outputs
|
||||||
if (!(compilerIO.Outputs.Any() && compilerIO.Inputs.Any()))
|
if (!(compilerIO.Outputs.Any() && compilerIO.Inputs.Any()))
|
||||||
{
|
{
|
||||||
Reporter.Verbose.WriteLine($"\nProject {project.ProjectName()} will be compiled because it either has empty inputs or outputs");
|
Reporter.Output.WriteLine($"\nProject {project.ProjectName()} will be compiled because it either has empty inputs or outputs");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,11 +123,11 @@ namespace Microsoft.DotNet.Tools.Build
|
||||||
|
|
||||||
if (!newInputs.Any())
|
if (!newInputs.Any())
|
||||||
{
|
{
|
||||||
Reporter.Verbose.WriteLine($"\nSkipped compilation for project {project.ProjectName()}. All the input files were older than the output files.");
|
Reporter.Output.WriteLine($"\nProject {project.ProjectName()} was previoulsy compiled. Skipping compilation.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Reporter.Verbose.WriteLine($"\nProject {project.ProjectName()} was compiled because some of its inputs were newer than its oldest output:");
|
Reporter.Output.WriteLine($"\nProject {project.ProjectName()} will be compiled because some of its inputs were newer than its oldest output.");
|
||||||
Reporter.Verbose.WriteLine($"Oldest output item was written at {minDate} : {minOutputPath}");
|
Reporter.Verbose.WriteLine($"Oldest output item was written at {minDate} : {minOutputPath}");
|
||||||
Reporter.Verbose.WriteLine($"Inputs newer than the oldest output item:");
|
Reporter.Verbose.WriteLine($"Inputs newer than the oldest output item:");
|
||||||
|
|
||||||
|
@ -148,14 +148,14 @@ namespace Microsoft.DotNet.Tools.Build
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Reporter.Verbose.WriteLine($"\nProject {project.ProjectName()} will be compiled because expected {itemsType} are missing: ");
|
Reporter.Output.WriteLine($"\nProject {project.ProjectName()} will be compiled because expected {itemsType} are missing. ");
|
||||||
|
|
||||||
foreach (var missing in missingItems)
|
foreach (var missing in missingItems)
|
||||||
{
|
{
|
||||||
Reporter.Verbose.WriteLine($"\t {missing}");
|
Reporter.Verbose.WriteLine($"\t {missing}");
|
||||||
}
|
}
|
||||||
|
|
||||||
Reporter.Verbose.WriteLine();
|
Reporter.Output.WriteLine();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue