-
Notifications
You must be signed in to change notification settings - Fork 0
/
recipe.cake
52 lines (43 loc) · 2.03 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#load nuget:?package=Chocolatey.Cake.Recipe&version=0.28.4
///////////////////////////////////////////////////////////////////////////////
// TOOLS
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// SCRIPT
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// CUSTOM TASKS
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// RECIPE SCRIPT
///////////////////////////////////////////////////////////////////////////////
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: ".",
solutionFilePath: "./Chocolatey.BestPractices.sln",
solutionDirectoryPath: ".",
title: "Chocolatey.BestPractices",
repositoryOwner: "chocolatey",
repositoryName: "Chocolatey.BestPractices",
productName: "Chocolatey.BestPractices",
productDescription: "Chocolatey.BestPractices is a product of Chocolatey Software, Inc. - All Rights Reserved.",
productCopyright: string.Format("Copyright © 2024 - {0} Chocolatey Software, Inc. - All Rights Reserved.", DateTime.Now.Year),
treatWarningsAsErrors: false,
preferDotNetGlobalToolUsage: !IsRunningOnWindows(),
shouldStrongNameOutputAssemblies: false,
shouldStrongNameSignDependentAssemblies: false,
shouldRunAnalyze: false,
shouldRunInspectCode: false,
shouldRunILMerge: false,
shouldRunChocolatey: false,
shouldRunDotNetPack: true,
shouldRunOpenCover: false,
shouldRunPSScriptAnalyzer: false,
shouldRunReportGenerator: false,
shouldRunReportUnit: false,
shouldRunTests: false);
ToolSettings.SetToolSettings(context: Context);
BuildParameters.PrintParameters(Context);
Build.RunDotNet();