@@ -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" ;
0 commit comments