Skip to content

Commit

Permalink
Add verbose flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddunkin committed Oct 26, 2022
1 parent ae23721 commit 5b696d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Faithlife.Build/BuildRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public static async Task<int> ExecuteAsync(string[] args, Action<BuildApp> initi
var parallelFlag = buildApp.AddFlag("--parallel", "Run targets in parallel");
var noColorFlag = buildApp.AddFlag("--no-color", "Disable color output");
var showTreeFlag = buildApp.AddFlag("--show-tree", "Show the dependency tree");
var verboseFlag = buildApp.AddFlag("--verbose", "Show verbose output");
var helpFlag = buildApp.AddFlag("-h|-?|--help", "Show build help");
var targetsArgument = commandLineApp.Argument("targets", "The targets to build", multipleValues: true);

Expand Down Expand Up @@ -118,6 +119,8 @@ void AddTargetAndDependencies(BuildTarget target)
bullseyeArgs.Add("--dry-run");
if (parallelFlag.Value)
bullseyeArgs.Add("--parallel");
if (verboseFlag.Value)
bullseyeArgs.Add("--verbose");
bullseyeArgs.Add("--no-extended-chars");

try
Expand Down

0 comments on commit 5b696d0

Please sign in to comment.