forked from cake-contrib/Cake.Slack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cake
22 lines (17 loc) · 1022 Bytes
/
setup.cake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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",
title: "Cake.Slack",
repositoryOwner: "cake-contrib",
repositoryName: "Cake.Slack",
appVeyorAccountName: "cakecontrib",
shouldRunDupFinder: false,
shouldRunInspectCode: false);
BuildParameters.PrintParameters(Context);
ToolSettings.SetToolSettings(context: Context,
dupFinderExcludePattern: new string[] {
BuildParameters.RootDirectoryPath + "/src/Cake.Slack/**/*.AssemblyInfo.cs",
BuildParameters.RootDirectoryPath + "/src/Cake.Slack/LitJson/**/*.cs" });
Build.RunDotNetCore();