-
-
Notifications
You must be signed in to change notification settings - Fork 275
/
build.cake
59 lines (50 loc) · 2.37 KB
/
build.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
53
54
55
56
57
58
59
//=======================================================
// DEFINE PARAMETERS
//=======================================================
// Define the required parameters
var Parameters = new Dictionary<string, object>();
Parameters["SolutionName"] = "Costura.Fody";
Parameters["Company"] = "Fody";
Parameters["RepositoryUrl"] = string.Format("https://github.com/{0}/{1}", GetBuildServerVariable("SolutionName"), GetBuildServerVariable("SolutionName"));
Parameters["StartYear"] = "2015";
Parameters["UseVisualStudioPrerelease"] = "true";
Parameters["SkipComponentsThatAreNotDeployable"] = "false";
Parameters["BuildCostura"] = "true";
Parameters["DeployCostura"] = "false";
Parameters["NuGet_NoDependencies"] = "false";
Parameters["TestProcessBit"] = "X86";
// Note: the rest of the variables should be coming from the build server,
// see `/deployment/cake/*-variables.cake` for customization options
//
// If required, more variables can be overridden by specifying them via the
// Parameters dictionary, but the build server variables will always override
// them if defined by the build server. For example, to override the code
// sign wild card, add this to build.cake
//
// Parameters["CodeSignWildcard"] = "Orc.EntityFramework";
//=======================================================
// DEFINE COMPONENTS TO BUILD / PACKAGE
//=======================================================
Dependencies.Add("Costura");
Dependencies.Add("Costura.Template");
Dependencies.Add("ExeToReference");
Dependencies.Add("AssemblyToReference");
Dependencies.Add("AssemblyToReferenceNative");
Dependencies.Add("AssemblyToReferenceMixed");
Dependencies.Add("AssemblyToReferencePreEmbedded");
Dependencies.Add("AssemblyToReferenceWithRuntimeReferences");
Dependencies.Add("AssemblyWithoutInitialize");
Dependencies.Add("AssemblyToProcess");
Dependencies.Add("ExeToProcess");
Dependencies.Add("ExeToProcessWithNative");
Dependencies.Add("ExeToProcessWithNativeAndEmbeddedMixed");
Dependencies.Add("ExeToProcessWithMultipleNative");
Components.Add("Costura.Fody");
Components.Add("Costura");
TestProjects.Add("Costura.Fody.Tests");
//=======================================================
// REQUIRED INITIALIZATION, DO NOT CHANGE
//=======================================================
// Now all variables are defined, include the tasks, that
// script will take care of the rest of the magic
#l "./deployment/cake/tasks.cake"