There was an error while loading. Please reload this page.
1 parent 35c9a50 commit 1895758Copy full SHA for 1895758
1 file changed
build/Build.cs
@@ -14,6 +14,7 @@
14
using Nuke.Common.Execution;
15
using Nuke.Common.IO;
16
using Nuke.Common.ProjectModel;
17
+using Serilog;
18
19
#pragma warning disable S1144 // remove unused private members
20
#pragma warning disable S3903 // move class to namespace
@@ -103,4 +104,13 @@ Project[] GetTestProjects() =>
103
104
: Array.Empty<Project>();
105
106
public static int Main() => Execute<Build>(x => ((ICodeCoverageTarget)x).CodeCoverage);
107
+
108
+ protected override void OnBuildInitialized()
109
+ {
110
+ base.OnBuildInitialized();
111
112
+ Log.Information("Build initialized");
113
+ Log.Information("Skip Nuget Push: {SkipPush}", (this as IPushNuGetSettings).SkipPush);
114
115
+ }
116
}
0 commit comments