-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.cake
31 lines (25 loc) · 995 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
23
24
25
26
27
28
29
30
31
#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: "Hg.Net",
repositoryOwner: "vCipher",
repositoryName: "Hg.Net",
appVeyorAccountName: "vCipher",
shouldRunCodecov: false,
shouldRunDupFinder: false,
solutionFilePath: "./src/Mercurial.Net.sln");
Information("{0}", Encoding.Default.WebName);
Information("{0}", Console.OutputEncoding.WebName);
Information("{0}", Console.InputEncoding.WebName);
Information("{0}", System.Environment.GetEnvironmentVariable("HGENCODING"));
BuildParameters.PrintParameters(Context);
ToolSettings.SetToolSettings(
context: Context,
dupFinderExcludePattern: new string[] {
BuildParameters.RootDirectoryPath + "/src/*Tests/**/*.cs",
BuildParameters.RootDirectoryPath + "/src/**/*.AssemblyInfo.cs"
});
Build.Run();