Skip to content

Commit

Permalink
try to format the build output better
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson committed Jan 29, 2023
1 parent 43cdc62 commit 6e789cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Editor/UnityPlayerBuildTools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,8 @@ public static void StartCommandLineBuild()
}

var buildResultMessage = $"Exiting command line build...\nBuild success? {buildReport.summary.result}\nBuild time: {buildReport.summary.totalTime:g}";
var buildEventLogs = string.Join("\n", buildReport.steps.SelectMany(step => step.messages.SelectMany(message => $"[{message.type}] {message.content}")));
var buildEventLogs = string.Join("\n", buildReport.steps.SelectMany(step => step.messages.Select(message => $"[{message.type}] {message.content}")));

switch (buildReport.summary.result)
{
case BuildResult.Succeeded:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Build Pipeline Utilities",
"description": "The Build Pipeline Utilities aims to give developers more tools and options when making builds with the command line or with continuous integration.",
"keywords": [],
"version": "1.0.8",
"version": "1.0.9",
"unity": "2019.4",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit 6e789cf

Please sign in to comment.