From 7629551bfff6867aec1778dd244b25fe8095c91d Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Thu, 30 May 2024 18:12:12 +0800 Subject: [PATCH] verbosity pass through --- scripts/cake/shared.cake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/cake/shared.cake b/scripts/cake/shared.cake index 8e0e84ac6b..315642431f 100644 --- a/scripts/cake/shared.cake +++ b/scripts/cake/shared.cake @@ -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")); @@ -28,6 +28,7 @@ void RunCake(FilePath cake, string target = null, Dictionary 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) {