From cbd09d9e2839ace95621974b02f1d711cb9960f2 Mon Sep 17 00:00:00 2001 From: Mike Farrington Date: Fri, 21 Feb 2025 12:46:41 -0500 Subject: [PATCH] fix(tools): add missing arguments in DotNetPackSettings --- .../Nuke.Common/Tools/DotNet/DotNet.Generated.cs | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/source/Nuke.Common/Tools/DotNet/DotNet.Generated.cs b/source/Nuke.Common/Tools/DotNet/DotNet.Generated.cs index 86292c903..eb0d562de 100644 --- a/source/Nuke.Common/Tools/DotNet/DotNet.Generated.cs +++ b/source/Nuke.Common/Tools/DotNet/DotNet.Generated.cs @@ -1,4 +1,4 @@ -// Generated from https://github.com/nuke-build/nuke/blob/master/source/Nuke.Common/Tools/DotNet/DotNet.json +// Generated from https://github.com/nuke-build/nuke/blob/master/source/Nuke.Common/Tools/DotNet/DotNet.json using JetBrains.Annotations; using Newtonsoft.Json; @@ -418,6 +418,8 @@ public partial class DotNetPackSettings : ToolOptions [Argument(Format = "--version-suffix {value}")] public string VersionSuffix => Get(() => VersionSuffix); /// Doesn't display the startup banner or the copyright message. Available since .NET Core 3.0 SDK. [Argument(Format = "--nologo")] public bool? NoLogo => Get(() => NoLogo); + /// Generate MSBuild binary log. + [Argument(Format = "-bl:{value}")] public string BinaryLog => Get(() => BinaryLog); /// All build output files from the executed command will go in subfolders under the specified path, separated by project. For more information see Artifacts Output Layout. Available since .NET 8 SDK. [Argument(Format = "--artifacts-path {value}")] public string ArtifactsPath => Get(() => ArtifactsPath); /// Disables restoring multiple projects in parallel. @@ -481,7 +483,7 @@ public partial class DotNetBuildSettings : ToolOptions [Argument(Format = "/noconsolelogger")] public bool? NoConsoleLogger => Get(() => NoConsoleLogger); /// Doesn't display the startup banner or the copyright message. Available since .NET Core 3.0 SDK. [Argument(Format = "--nologo")] public bool? NoLogo => Get(() => NoLogo); - /// Generare MSBuild binary log. + /// Generate MSBuild binary log. [Argument(Format = "-bl:{value}")] public string BinaryLog => Get(() => BinaryLog); /// All build output files from the executed command will go in subfolders under the specified path, separated by project. For more information see Artifacts Output Layout. Available since .NET 8 SDK. [Argument(Format = "--artifacts-path {value}")] public string ArtifactsPath => Get(() => ArtifactsPath); @@ -3146,6 +3148,16 @@ [Pure] [Builder(Type = typeof(DotNetPackSettings), Property = nameof(DotNetPackS [Pure] [Builder(Type = typeof(DotNetPackSettings), Property = nameof(DotNetPackSettings.NoLogo))] public static T ToggleNoLogo(this T o) where T : DotNetPackSettings => o.Modify(b => b.Set(() => o.NoLogo, !o.NoLogo)); #endregion + #region BinaryLog + /// + [Pure] + [Builder(Type = typeof(DotNetPackSettings), Property = nameof(DotNetPackSettings.BinaryLog))] + public static T SetBinaryLog(this T o, string v) where T : DotNetPackSettings => o.Modify(b => b.Set(() => o.BinaryLog, v)); + /// + [Pure] + [Builder(Type = typeof(DotNetPackSettings), Property = nameof(DotNetPackSettings.BinaryLog))] + public static T ResetBinaryLog(this T o) where T : DotNetPackSettings => o.Modify(b => b.Remove(() => o.BinaryLog)); + #endregion #region ArtifactsPath /// [Pure] [Builder(Type = typeof(DotNetPackSettings), Property = nameof(DotNetPackSettings.ArtifactsPath))]