-
Notifications
You must be signed in to change notification settings - Fork 23
/
recipe.cake
24 lines (20 loc) · 1.27 KB
/
recipe.cake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#load nuget:?package=Cake.Recipe&version=3.1.1
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./source/",
title: "Cake.ExtendedNuGet",
repositoryOwner: "cake-contrib",
repositoryName: "Cake.ExtendedNuGet",
shouldRunDotNetCorePack: true,
shouldRunInspectCode: false,
shouldRunIntegrationTests: false,
testFilePattern: "DO_NOT_RUN_TESTS",
preferredBuildProviderType: BuildProviderType.GitHubActions,
preferredBuildAgentOperatingSystem: PlatformFamily.Linux);
BuildParameters.PrintParameters(Context);
ToolSettings.SetToolSettings(context: Context,
testCoverageFilter: "+[*]* -[xunit.*]* -[Cake.Core]* -[Cake.Testing]* -[*.Tests]* -[FakeItEasy]*",
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");
Build.RunDotNetCore();