Skip to content

Commit df6f8b8

Browse files
committed
(build) Update to newer version of Cake.Recipe
2.2.1 -> 3.0.1 This includes a bump to the version of Cake.Tool being used, as well as removal of some properties (shouldRunDupFinder, and dupFinderExcludePattern) as these are no longer supported.
1 parent a3b113c commit df6f8b8

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"cake.tool": {
6-
"version": "0.38.5",
6+
"version": "1.3.0",
77
"commands": [
88
"dotnet-cake"
99
]

recipe.cake

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#load nuget:?package=Cake.Recipe&version=2.2.1
1+
#load nuget:?package=Cake.Recipe&version=3.0.1
22
#tool dotnet:?package=dotnet-t4&version=2.2.1
33

44
Environment.SetVariableNames(githubTokenVariable: "GITTOOLS_GITHUB_TOKEN");
@@ -14,7 +14,6 @@ BuildParameters.SetParameters(context: Context,
1414
appVeyorAccountName: "GitTools",
1515
shouldRunDotNetCorePack: true,
1616
shouldRunIntegrationTests: true,
17-
shouldRunDupFinder: false,
1817
integrationTestScriptPath: "./tests/integration/tests.cake",
1918
twitterMessage: standardNotificationMessage,
2019
gitterMessage: "@/all " + standardNotificationMessage);
@@ -24,12 +23,6 @@ BuildParameters.PackageSources.Add(new PackageSourceData(Context, "GPR", "https:
2423
BuildParameters.PrintParameters(Context);
2524

2625
ToolSettings.SetToolSettings(context: Context,
27-
dupFinderExcludePattern: new string[] {
28-
BuildParameters.RootDirectoryPath + "/src/GitReleaseManager.Core.Tests/**/*.cs",
29-
BuildParameters.RootDirectoryPath + "/src/GitReleaseManager.Tests/**/*.cs",
30-
BuildParameters.RootDirectoryPath + "/src/GitReleaseManager.IntegrationTests/**/*.cs",
31-
BuildParameters.RootDirectoryPath + "/src/GitReleaseManager/AutoMapperConfiguration.cs",
32-
"**/*.AssemblyInfo.cs" },
3326
testCoverageFilter: "+[GitReleaseManager*]* -[GitReleaseManager.Core.Tests*]* -[GitReleaseManager.Tests*]*",
3427
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",
3528
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");

0 commit comments

Comments
 (0)