1
- #load nuget : ? package= Cake . Recipe & version = 2.2 .1
1
+ #load nuget : ? package= Cake . Recipe & version = 3.0 .1
2
2
3
3
Environment. SetVariableNames ( ) ;
4
4
@@ -11,7 +11,6 @@ BuildParameters.SetParameters(
11
11
repositoryName : "Cake.AzureDevOps" ,
12
12
appVeyorAccountName : "cakecontrib" ,
13
13
shouldCalculateVersion : true ,
14
- shouldRunDupFinder : false , // dupFinder is missing in 2021.3.0-eap
15
14
shouldRunDotNetCorePack : true ,
16
15
shouldGenerateDocumentation : false , // Fails to restore tool on AppVeyor
17
16
shouldRunCoveralls : false , // Fails to restore tool on AppVeyor
@@ -21,17 +20,10 @@ BuildParameters.PrintParameters(Context);
21
20
22
21
ToolSettings . SetToolSettings (
23
22
context : Context ,
24
- dupFinderExcludePattern : new string [ ] { BuildParameters . RootDirectoryPath + "/src/Cake.AzureDevOps.Tests/**/*.cs" } ,
25
23
testCoverageFilter : "+[*]* -[xunit.*]* -[Cake.Core]* -[Cake.Common]* -[*.Tests]* -[Cake.Testing]* -[Moq]* -[Shouldly]* -[DiffEngine]* -[EmptyFiles]*" ,
26
24
testCoverageExcludeByAttribute : "*.ExcludeFromCodeCoverage*" ,
27
25
testCoverageExcludeByFile : "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs" ) ;
28
26
29
- // Workaround until https://github.com/cake-contrib/Cake.Recipe/issues/862 has been fixed in Cake.Recipe
30
- ToolSettings . SetToolPreprocessorDirectives (
31
- reSharperTools : "#tool nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2021.3.1" ,
32
- coverallsGlobalTool : "#tool dotnet:?package=coveralls.net&version=3.0.0" ,
33
- gitVersionGlobalTool : "#tool dotnet:?package=GitVersion.Tool&version=5.8.1" ) ;
34
-
35
27
// Disable Upload-Coveralls-Report task since it fails to install the tool on AppVeyor
36
28
BuildParameters . Tasks . UploadCoverallsReportTask . WithCriteria ( ( ) => false ) ;
37
29
0 commit comments