Skip to content

Commit

Permalink
Write the full path to the profile json file in the generated/skipped…
Browse files Browse the repository at this point in the history
… log output, for consistency with the other generators
  • Loading branch information
belkiss committed Jul 8, 2021
1 parent e1d16f5 commit d05e6a8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Sharpmake/Builder.cs
Expand Up @@ -231,10 +231,11 @@ public void DumpTraceFile(string filePath)
writer.Flush();

var generationOutput = new GenerationOutput();
if (Util.FileWriteIfDifferentInternal(new FileInfo(filePath), mStream, bypassAutoCleanupDatabase: true))
generationOutput.Generated.Add(filePath);
var fileInfo = new FileInfo(filePath);
if (Util.FileWriteIfDifferentInternal(fileInfo, mStream, bypassAutoCleanupDatabase: true))
generationOutput.Generated.Add(fileInfo.FullName);
else
generationOutput.Skipped.Add(filePath);
generationOutput.Skipped.Add(fileInfo.FullName);

ReportGenerated(typeof(TraceFile), generationOutput);
}
Expand Down

0 comments on commit d05e6a8

Please sign in to comment.