-
Notifications
You must be signed in to change notification settings - Fork 2
/
recipe.cake
26 lines (22 loc) · 966 Bytes
/
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:?package=Cake.Recipe&version=3.1.1
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./source/ViceMonitor.Bridge",
title: "Righthand.ViceMonitor.Bridge",
repositoryOwner: "MihaMarkic",
repositoryName: "vice-bridge-net",
appVeyorAccountName: "MihaMarkic",
shouldRunDupFinder: false,
shouldRunInspectCode: false,
shouldRunCodecov: false,
shouldRunDotNetCorePack: true);
BuildParameters.PrintParameters(Context);
ToolSettings.SetToolSettings(
context: Context,
dupFinderExcludePattern: new string[] { BuildParameters.RootDirectoryPath + "source/ViceMonitor.Bridge/Test/Righthand.ViceMonitor.Bridge.Test/*.cs" },
testCoverageFilter: "+[*]* -[nunit.*]* -[*.Tests]*",
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");
Build.RunDotNetCore();