You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the 3.0 branch for the 2.X website build (#2414)
* Start of shifting files around for new website
* More work on multi-versioning
* Fix bad notes
* Delete the old website
* Fix paths for 2.X
* Delete Statiq, add a NUKE target for building the new site in 2.X, other tweaks
* Update the submodule in the 3.0 branch for the 2.X branch
* Apply suggestions from code review
Co-authored-by: Andrew Davis <[email protected]>
* Use a deploy key instead
---------
Co-authored-by: Andrew Davis <[email protected]>
Copy file name to clipboardExpand all lines: .nuke/build.schema.json
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,10 @@
30
30
"type": "boolean",
31
31
"description": "If specified, ignores any generated solution present and builds the entire project"
32
32
},
33
+
"AndroidHomeValue": {
34
+
"type": "string",
35
+
"description": "Android home. Will be determined from dotnet if not provided"
36
+
},
33
37
"Configuration": {
34
38
"type": "string",
35
39
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)"
@@ -136,16 +140,28 @@
136
140
"type": "string"
137
141
}
138
142
},
143
+
"PullBaseSite": {
144
+
"type": "boolean",
145
+
"description": "When enabled, pulls the latest changes for local clone of the 3.0 branch to build the website. Automatically true if the local clone doesn't exist yet"
146
+
},
139
147
"Root": {
140
148
"type": "string",
141
149
"description": "Root directory during build execution"
142
150
},
151
+
"SiteBuildArgs": {
152
+
"type": "array",
153
+
"description": "Arguments for website generation on the 3.0 branch",
154
+
"items": {
155
+
"type": "string"
156
+
}
157
+
},
143
158
"Skip": {
144
159
"type": "array",
145
160
"description": "List of targets to be skipped. Empty list skips all dependencies",
// Licensed to the .NET Foundation under one or more agreements.
2
+
// The .NET Foundation licenses this file to you under the MIT license.
3
+
4
+
usingNuke.Common;
5
+
usingSerilog;
6
+
usingSystem.IO;
7
+
usingSystem;
8
+
usingSystem.Linq;
9
+
usingNuke.Common.Tooling;
10
+
usingstaticNuke.Common.IO.FileSystemTasks;
11
+
usingstaticNuke.Common.Tools.Git.GitTasks;
12
+
13
+
partialclassBuild
14
+
{
15
+
[Parameter
16
+
(
17
+
"When enabled, pulls the latest changes for local clone of the 3.0 branch to build the website. Automatically true if the local clone doesn't exist yet."
18
+
)]
19
+
readonlyboolPullBaseSite;
20
+
21
+
[Parameter("Arguments for website generation on the 3.0 branch.")]
0 commit comments