Skip to content

Commit a74cf35

Browse files
authored
Fix up
1 parent 88e7c56 commit a74cf35

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

.build/Build.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ namespace Build;
1515
[PublicAPI]
1616
[UnsetVisualStudioEnvironmentVariables]
1717
[PackageIcon("http://www.omnisharp.net/images/logo.png")]
18-
[EnsureReadmeIsUpdated]
1918
[DotNetVerbosityMapping]
2019
[MSBuildVerbosityMapping]
2120
[NuGetVerbosityMapping]
@@ -25,7 +24,6 @@ public sealed partial class Solution : NukeBuild,
2524
ICanBuildWithDotNetCore,
2625
ICanTestWithDotNetCore,
2726
ICanPackWithDotNetCore,
28-
IHaveDataCollector,
2927
ICanClean,
3028
ICanUpdateReadme,
3129
IGenerateCodeCoverageReport,
@@ -51,17 +49,17 @@ public sealed partial class Solution : NukeBuild,
5149
.DependsOn(Test)
5250
.DependsOn(Pack);
5351

54-
public Target Build => _ => _.Inherit<ICanBuildWithDotNetCore>(x => x.CoreBuild);
52+
public Target Build => _ => _.Inherit<ICanBuildWithDotNetCore>(x => x.DotnetCoreBuild);
5553

56-
public Target Pack => _ => _.Inherit<ICanPackWithDotNetCore>(x => x.CorePack)
54+
public Target Pack => _ => _.Inherit<ICanPackWithDotNetCore>(x => x.DotnetCorePack)
5755
.DependsOn(Clean);
5856

5957
[ComputedGitVersion] public GitVersion GitVersion { get; } = null!;
6058

61-
public Target Clean => _ => _.Inherit<ICanClean>(x => x.Clean);
62-
public Target Restore => _ => _.Inherit<ICanRestoreWithDotNetCore>(x => x.CoreRestore);
59+
public Target Clean => _ => _.Inherit<ICanClean>(x => x.CleanWellKnownTemporaryFiles);
60+
public Target Restore => _ => _.Inherit<ICanRestoreWithDotNetCore>(x => x.DotnetCoreRestore);
6361

64-
public Target Test => _ => _.Inherit<ICanTestWithDotNetCore>(x => x.CoreTest);
62+
public Target Test => _ => _.Inherit<ICanTestWithDotNetCore>(x => x.DotnetCoreTest);
6563

6664
public Target NpmInstall => _ => _
6765
.Executes(() =>
@@ -79,6 +77,8 @@ public sealed partial class Solution : NukeBuild,
7977
.Before(Default)
8078
.Before(Clean);
8179

80+
public Target Docs => _ => _.Inherit<IGenerateDocFx>(x => x.GenerateDocFx);
81+
8282
[Parameter("Configuration to build")] public Configuration Configuration { get; } = IsLocalBuild ? Configuration.Debug : Configuration.Release;
8383

8484
AbsolutePath ICanUpdateReadme.ReadmeFilePath => RootDirectory / "README.md";

.build/Solution.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ internal class LocalConstants
5656
NonEntryTargets = new[]
5757
{
5858
nameof(ICIEnvironment.CIEnvironment),
59-
nameof(ITriggerCodeCoverageReports.TriggerCodeCoverageReports),
59+
nameof(ITriggerCodeCoverageReports.CollectCodeCoverage),
6060
nameof(ITriggerCodeCoverageReports.GenerateCodeCoverageReportCobertura),
6161
nameof(IGenerateCodeCoverageBadges.GenerateCodeCoverageBadges),
6262
nameof(IGenerateCodeCoverageReport.GenerateCodeCoverageReport),
@@ -96,7 +96,6 @@ RocketSurgeonGitHubActionsConfiguration configuration
9696
{
9797
configuration
9898
.ExcludeRepositoryConfigurationFiles()
99-
.AddNugetPublish()
10099
.Jobs.OfType<RocketSurgeonsGithubActionsJob>()
101100
.First(z => z.Name.Equals("Build", StringComparison.OrdinalIgnoreCase))
102101
.ConfigureStep<CheckoutStep>(step => step.FetchDepth = 0)

0 commit comments

Comments
 (0)