Skip to content

Commit

Permalink
Update CI to use Cake.Recipe 3.x (#80)
Browse files Browse the repository at this point in the history
this PR supersedes #58
  • Loading branch information
nils-a authored Oct 4, 2024
1 parent 6484feb commit aaa2788
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"cake.tool": {
"version": "0.38.5",
"version": "1.3.0",
"commands": [
"dotnet-cake"
]
Expand Down
10 changes: 2 additions & 8 deletions recipe.cake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#load nuget:?package=Cake.Recipe&version=2.2.1
#load nuget:?package=Cake.Recipe&version=3.0.1

Environment.SetVariableNames();

Expand All @@ -18,13 +18,7 @@ BuildParameters.SetParameters(

BuildParameters.PrintParameters(Context);

ToolSettings.SetToolSettings(context: Context,
dupFinderExcludePattern: new string[] {
BuildParameters.RootDirectoryPath + "/**/Cake.SPCAF.Tests/**/*.cs",
BuildParameters.RootDirectoryPath + "/**/Cake.SPCAF/**/*.AssemblyInfo.cs",
BuildParameters.RootDirectoryPath + "/**/Cake.SPCAF/SPCAFSettings.cs"
}
);
ToolSettings.SetToolSettings(context: Context);


Build.RunDotNetCore();

0 comments on commit aaa2788

Please sign in to comment.