-
Notifications
You must be signed in to change notification settings - Fork 10
/
recipe.cake
26 lines (21 loc) · 1.08 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
25
26
#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();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Cake.AzureDevOps",
repositoryOwner: "cake-contrib",
repositoryName: "Cake.AzureDevOps",
appVeyorAccountName: "cakecontrib",
shouldUseDeterministicBuilds: true,
shouldGenerateDocumentation: false, // Fails to restore tool on AppVeyor
shouldRunCoveralls: false, // Fails to restore tool on AppVeyor
shouldRunCodecov: false); // Fails to restore tool on AppVeyor
BuildParameters.PrintParameters(Context);
ToolSettings.SetToolSettings(
context: Context,
testCoverageFilter: "+[*]* -[xunit.*]* -[Cake.Core]* -[Cake.Common]* -[*.Tests]* -[Cake.Testing]* -[Moq]* -[Shouldly]* -[DiffEngine]* -[EmptyFiles]*",
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");
Build.RunDotNetCore();