Skip to content
This repository was archived by the owner on Dec 25, 2023. It is now read-only.

Commit 699005c

Browse files
authored
Update to Cake.Recipe 3.0 (#201)
1 parent c793957 commit 699005c

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-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: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#load nuget:?package=Cake.Recipe&version=2.2.0
1+
#load nuget:https://pkgs.dev.azure.com/cake-contrib/Home/_packaging/addins/nuget/v3/index.json?package=Cake.Recipe&version=3.0.0-beta0001-0007&prerelease
2+
3+
//*************************************************************************************************
4+
// Settings
5+
//*************************************************************************************************
26

37
Environment.SetVariableNames();
48

@@ -10,20 +14,19 @@ BuildParameters.SetParameters(
1014
repositoryOwner: "cake-contrib",
1115
repositoryName: "Cake.Issues.InspectCode",
1216
appVeyorAccountName: "cakecontrib",
13-
shouldGenerateDocumentation: false,
14-
shouldRunCodecov: false);
17+
shouldRunCoveralls: false, // Disabled because it's currently failing
18+
shouldGenerateDocumentation: false);
1519

1620
BuildParameters.PrintParameters(Context);
1721

1822
ToolSettings.SetToolSettings(
1923
context: Context,
20-
dupFinderExcludePattern: new string[]
21-
{
22-
BuildParameters.RootDirectoryPath + "/src/Cake.Issues.InspectCode*/**/*.AssemblyInfo.cs",
23-
BuildParameters.RootDirectoryPath + "/src/Cake.Issues.InspectCode.Tests/**/*.cs"
24-
},
2524
testCoverageFilter: "+[*]* -[xunit.*]* -[Cake.Core]* -[Cake.Testing]* -[*.Tests]* -[Cake.Issues]* -[Cake.Issues.Testing]* -[Shouldly]* -[DiffEngine]* -[EmptyFiles]*",
2625
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",
2726
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");
2827

28+
//*************************************************************************************************
29+
// Execution
30+
//*************************************************************************************************
31+
2932
Build.RunDotNetCore();

0 commit comments

Comments
 (0)