Skip to content

Commit

Permalink
verbosity pass through
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed May 30, 2024
1 parent 9aecd54 commit 7629551
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/cake/shared.cake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ using System.Runtime.InteropServices;
using System.Text.RegularExpressions;

var TARGET = Argument("t", Argument("target", "Default"));
var VERBOSITY = Argument("v", Argument("verbosity", Verbosity.Normal));
var VERBOSITY = Context.Log.Verbosity;
var CONFIGURATION = Argument("c", Argument("configuration", "Release"));

var VS_INSTALL = Argument("vsinstall", EnvironmentVariable("VS_INSTALL"));
Expand All @@ -28,6 +28,7 @@ void RunCake(FilePath cake, string target = null, Dictionary<string, string> arg
var args = Arguments().ToDictionary(a => a.Key, a => a.Value.LastOrDefault());

args["target"] = target;
args["verbosity"] = VERBOSITY.ToString();

if (arguments != null) {
foreach (var arg in arguments) {
Expand Down

0 comments on commit 7629551

Please sign in to comment.