Skip to content

Commit

Permalink
Merge pull request cake-contrib#61 from nils-a/feature/cake-contribGH-57
Browse files Browse the repository at this point in the history
  • Loading branch information
gep13 authored Aug 5, 2024
2 parents deb4067 + 6d1de07 commit f90f71f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 18 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": "2.3.0",
"commands": [
"dotnet-cake"
]
Expand Down
6 changes: 0 additions & 6 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@

& dotnet tool restore

###########################################################################
# BOOTSTRAP BUILD SCRIPT
###########################################################################
& dotnet cake recipe.cake --bootstrap


###########################################################################
# RUN BUILD SCRIPT
###########################################################################
Expand Down
5 changes: 0 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@

dotnet tool restore

###########################################################################
# BOOTSTRAP BUILD SCRIPT
###########################################################################
dotnet cake recipe.cake --bootstrap

###########################################################################
# RUN BUILD SCRIPT
###########################################################################
Expand Down
8 changes: 2 additions & 6 deletions recipe.cake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#tool dotnet:?package=DPI&version=2021.12.8.49
#load nuget:?package=Cake.Recipe&version=2.2.1
#load nuget:https://pkgs.dev.azure.com/cake-contrib/Home/_packaging/addins/nuget/v3/index.json?package=Cake.Recipe&version=4.0.0-alpha0126

Environment.SetVariableNames();

Expand All @@ -10,15 +10,11 @@ BuildParameters.SetParameters(context: Context,
repositoryOwner: "cake-contrib",
repositoryName: "Cake.Slack",
appVeyorAccountName: "cakecontrib",
shouldRunDupFinder: false,
shouldRunInspectCode: false);

BuildParameters.PrintParameters(Context);

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

Task("DPI")
.IsDependeeOf("DotNetCore-Build")
Expand Down

0 comments on commit f90f71f

Please sign in to comment.