-
Notifications
You must be signed in to change notification settings - Fork 9
/
recipe.cake
32 lines (27 loc) · 1.14 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
29
30
31
32
#load nuget:?package=Cake.Recipe&version=3.1.1
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Cake.Mage",
repositoryOwner: "cake-contrib",
repositoryName: "Cake.Mage",
appVeyorAccountName: "cakecontrib",
shouldPostToGitter: false,
shouldRunInspectCode: false,
shouldRunCodecov: false,
shouldRunDotNetCorePack: true,
shouldRunCoveralls: false); // Disabled because it's currently failing
BuildParameters.PrintParameters(Context);
ToolSettings.SetToolPreprocessorDirectives(
gitReleaseManagerGlobalTool: "#tool dotnet:?package=GitReleaseManager.Tool&version=0.18.0",
nugetTool: "#tool nuget:?package=NuGet.CommandLine&version=6.12.1",
gitVersionGlobalTool: "#tool dotnet:?package=GitVersion.Tool&version=5.12.0"
);
ToolSettings.SetToolSettings(
context: Context,
testCoverageFilter: "+[*]* -[nunit.*]* -[Cake.Core]* -[Cake.Testing]* -[*.Tests]*",
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");
Build.RunDotNetCore();