-
Notifications
You must be signed in to change notification settings - Fork 9
/
recipe.cake
28 lines (23 loc) · 1.44 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
27
28
#load nuget:?package=Cake.Recipe&version=1.0.0
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
title: "Cake.SqlPackage",
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
testDirectoryPath: "./test",
testFilePattern: "/**/*UnitTests.csproj",
solutionFilePath: "./Cake.SqlPackage.sln",
repositoryOwner: "cake-contrib",
repositoryName: "Cake.SqlPackage",
appVeyorAccountName: "cakecontrib",
shouldRunDupFinder: false,
shouldRunCodecov: false,
shouldRunInspectCode: false,
shouldRunGitVersion: true);
BuildParameters.PrintParameters(Context);
ToolSettings.SetToolSettings(context: Context,
dupFinderExcludePattern: new string[] { BuildParameters.RootDirectoryPath + "/src/Cake.SqlPackage.UnitTests/*.cs" },
testCoverageFilter: "+[*]* -[xunit.*]* -[Cake.Core]* -[Cake.Testing]* -[*.Tests]* -[FakeItEasy]*",
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");
Build.RunDotNetCore();