-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.cake
27 lines (21 loc) · 1.3 KB
/
setup.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
27
#load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
solutionFilePath: "./Autotask.sln",
solutionDirectoryPath: "./",
title: "Autotask",
repositoryOwner: "tjackadams",
repositoryName: "autotaskoperations",
appVeyorAccountName: "tjackadams",
testDirectoryPath: "./test",
nuspecFilePath: "./nuspec/nuget/Autotask.Operations.nuspec",
shouldRunCodecov: false);
BuildParameters.PrintParameters(Context);
ToolSettings.SetToolSettings(context: Context,
dupFinderExcludePattern: new string[] { BuildParameters.RootDirectoryPath + "/src/Autotask/**/*.AssemblyInfo.cs", BuildParameters.RootDirectoryPath + "/test/Autotask.Tests/**/*.AssemblyInfo.cs" },
testCoverageFilter: "+[*]* -[Autotask.Tests]*",
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");
Build.RunDotNetCore();