Skip to content

Commit 5bd92b1

Browse files
authored
Merge pull request #17 from ricaun-io/develop
Version 1.2.0
2 parents 9e11f55 + f6b82b5 commit 5bd92b1

File tree

15 files changed

+264
-315
lines changed

15 files changed

+264
-315
lines changed

Build/.nuke/build.schema.json

Lines changed: 219 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,238 @@
11
{
22
"$schema": "http://json-schema.org/draft-04/schema#",
3-
"$ref": "#/definitions/build",
4-
"title": "Build Schema",
53
"definitions": {
6-
"build": {
4+
"Host": {
5+
"type": "string",
6+
"enum": [
7+
"AppVeyor",
8+
"AzurePipelines",
9+
"Bamboo",
10+
"Bitbucket",
11+
"Bitrise",
12+
"GitHubActions",
13+
"GitLab",
14+
"Jenkins",
15+
"Rider",
16+
"SpaceAutomation",
17+
"TeamCity",
18+
"Terminal",
19+
"TravisCI",
20+
"VisualStudio",
21+
"VSCode"
22+
]
23+
},
24+
"IssConfiguration": {
725
"type": "object",
26+
"description": "IssConfiguration",
827
"properties": {
9-
"ApplicationType": {
10-
"type": "string"
28+
"Title": {
29+
"type": [
30+
"null",
31+
"string"
32+
],
33+
"description": "Title (default null)"
34+
},
35+
"Image": {
36+
"type": [
37+
"null",
38+
"string"
39+
],
40+
"description": "Image (default IMAGE)"
41+
},
42+
"ImageSmall": {
43+
"type": [
44+
"null",
45+
"string"
46+
],
47+
"description": "Small Image (default IMAGESMALL)"
48+
},
49+
"Icon": {
50+
"type": [
51+
"null",
52+
"string"
53+
],
54+
"description": "Icon (default ICON)"
55+
},
56+
"Licence": {
57+
"type": [
58+
"null",
59+
"string"
60+
],
61+
"description": "Licence (default LICENSE)"
62+
},
63+
"Language": {
64+
"description": "Language (default IssLanguage)",
65+
"oneOf": [
66+
{
67+
"type": "null"
68+
},
69+
{
70+
"$ref": "#/definitions/IssLanguage"
71+
}
72+
]
1173
},
74+
"IssLanguageLicences": {
75+
"type": [
76+
"array",
77+
"null"
78+
],
79+
"description": "IssLanguages",
80+
"items": {
81+
"$ref": "#/definitions/IssLanguageLicence"
82+
}
83+
}
84+
}
85+
},
86+
"IssLanguage": {
87+
"type": "object",
88+
"description": "IssLanguage",
89+
"properties": {
90+
"Name": {
91+
"type": [
92+
"null",
93+
"string"
94+
],
95+
"description": "Name (default \"en\")"
96+
},
97+
"MessagesFile": {
98+
"type": [
99+
"null",
100+
"string"
101+
],
102+
"description": "MessagesFile (default \"compiler:Default.isl\")"
103+
}
104+
}
105+
},
106+
"IssLanguageLicence": {
107+
"type": "object",
108+
"description": "IssLanguageLicence",
109+
"properties": {
110+
"Name": {
111+
"type": [
112+
"null",
113+
"string"
114+
],
115+
"description": "Name (default \"en\")"
116+
},
117+
"MessagesFile": {
118+
"type": [
119+
"null",
120+
"string"
121+
],
122+
"description": "MessagesFile (default \"compiler:Default.isl\")"
123+
},
124+
"Licence": {
125+
"type": [
126+
"null",
127+
"string"
128+
],
129+
"description": "Licence (default LICENSE)"
130+
}
131+
}
132+
},
133+
"ExecutableTarget": {
134+
"type": "string",
135+
"enum": [
136+
"Build",
137+
"Clean",
138+
"Compile",
139+
"GitPreRelease",
140+
"GitRelease",
141+
"PackageBuilder",
142+
"Release",
143+
"Sign",
144+
"Test"
145+
]
146+
},
147+
"Verbosity": {
148+
"type": "string",
149+
"description": "",
150+
"enum": [
151+
"Verbose",
152+
"Normal",
153+
"Minimal",
154+
"Quiet"
155+
]
156+
},
157+
"NukeBuild": {
158+
"properties": {
12159
"Continue": {
13160
"type": "boolean",
14161
"description": "Indicates to continue a previously failed build attempt"
15162
},
16-
"Folder": {
17-
"type": "string"
18-
},
19-
"GitHubToken": {
20-
"type": "string",
21-
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
22-
},
23163
"Help": {
24164
"type": "boolean",
25165
"description": "Shows the help text for this build assembly"
26166
},
27167
"Host": {
28-
"type": "string",
29168
"description": "Host for execution. Default is 'automatic'",
30-
"enum": [
31-
"AppVeyor",
32-
"AzurePipelines",
33-
"Bamboo",
34-
"Bitbucket",
35-
"Bitrise",
36-
"GitHubActions",
37-
"GitLab",
38-
"Jenkins",
39-
"Rider",
40-
"SpaceAutomation",
41-
"TeamCity",
42-
"Terminal",
43-
"TravisCI",
44-
"VisualStudio",
45-
"VSCode"
46-
]
169+
"$ref": "#/definitions/Host"
170+
},
171+
"NoLogo": {
172+
"type": "boolean",
173+
"description": "Disables displaying the NUKE logo"
174+
},
175+
"Partition": {
176+
"type": "string",
177+
"description": "Partition to use on CI"
178+
},
179+
"Plan": {
180+
"type": "boolean",
181+
"description": "Shows the execution plan (HTML)"
182+
},
183+
"Profile": {
184+
"type": "array",
185+
"description": "Defines the profiles to load",
186+
"items": {
187+
"type": "string"
188+
}
189+
},
190+
"Root": {
191+
"type": "string",
192+
"description": "Root directory during build execution"
193+
},
194+
"Skip": {
195+
"type": "array",
196+
"description": "List of targets to be skipped. Empty list skips all dependencies",
197+
"items": {
198+
"$ref": "#/definitions/ExecutableTarget"
199+
}
200+
},
201+
"Target": {
202+
"type": "array",
203+
"description": "List of targets to be invoked. Default is '{default_target}'",
204+
"items": {
205+
"$ref": "#/definitions/ExecutableTarget"
206+
}
207+
},
208+
"Verbosity": {
209+
"description": "Logging verbosity during build execution. Default is 'Normal'",
210+
"$ref": "#/definitions/Verbosity"
211+
}
212+
}
213+
}
214+
},
215+
"allOf": [
216+
{
217+
"properties": {
218+
"ApplicationType": {
219+
"type": "string"
220+
},
221+
"EnableForkedRepository": {
222+
"type": "boolean"
223+
},
224+
"Folder": {
225+
"type": "string"
226+
},
227+
"GitHubToken": {
228+
"type": "string",
229+
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
47230
},
48231
"InstallationFiles": {
49232
"type": "string"
50233
},
51234
"IssConfiguration": {
52-
"type": "string"
235+
"$ref": "#/definitions/IssConfiguration"
53236
},
54237
"MainName": {
55238
"type": "string"
@@ -63,21 +246,8 @@
63246
"NewVersions": {
64247
"type": "boolean"
65248
},
66-
"NoLogo": {
67-
"type": "boolean",
68-
"description": "Disables displaying the NUKE logo"
69-
},
70-
"Partition": {
71-
"type": "string",
72-
"description": "Partition to use on CI"
73-
},
74-
"Plan": {
75-
"type": "boolean",
76-
"description": "Shows the execution plan (HTML)"
77-
},
78-
"Profile": {
249+
"PreReleaseFilter": {
79250
"type": "array",
80-
"description": "Defines the profiles to load",
81251
"items": {
82252
"type": "string"
83253
}
@@ -103,10 +273,6 @@
103273
"ReleasePackageBuilder": {
104274
"type": "boolean"
105275
},
106-
"Root": {
107-
"type": "string",
108-
"description": "Root directory during build execution"
109-
},
110276
"SignFile": {
111277
"type": "string",
112278
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
@@ -115,44 +281,10 @@
115281
"type": "string",
116282
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
117283
},
118-
"Skip": {
119-
"type": "array",
120-
"description": "List of targets to be skipped. Empty list skips all dependencies",
121-
"items": {
122-
"type": "string",
123-
"enum": [
124-
"Build",
125-
"Clean",
126-
"Compile",
127-
"GitRelease",
128-
"PackageBuilder",
129-
"Release",
130-
"Sign",
131-
"Test"
132-
]
133-
}
134-
},
135284
"Solution": {
136285
"type": "string",
137286
"description": "Path to a solution file that is automatically loaded"
138287
},
139-
"Target": {
140-
"type": "array",
141-
"description": "List of targets to be invoked. Default is '{default_target}'",
142-
"items": {
143-
"type": "string",
144-
"enum": [
145-
"Build",
146-
"Clean",
147-
"Compile",
148-
"GitRelease",
149-
"PackageBuilder",
150-
"Release",
151-
"Sign",
152-
"Test"
153-
]
154-
}
155-
},
156288
"TestBuildStopWhenFailed": {
157289
"type": "boolean"
158290
},
@@ -167,18 +299,11 @@
167299
},
168300
"VendorId": {
169301
"type": "string"
170-
},
171-
"Verbosity": {
172-
"type": "string",
173-
"description": "Logging verbosity during build execution. Default is 'Normal'",
174-
"enum": [
175-
"Minimal",
176-
"Normal",
177-
"Quiet",
178-
"Verbose"
179-
]
180302
}
181303
}
304+
},
305+
{
306+
"$ref": "#/definitions/NukeBuild"
182307
}
183-
}
308+
]
184309
}

Build/Build.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<RootNamespace></RootNamespace>
66
<NoWarn>CS0649;CS0169</NoWarn>
77
<NukeRootDirectory>.</NukeRootDirectory>
88
<NukeScriptDirectory>.</NukeScriptDirectory>
99
<NukeTelemetryVersion>1</NukeTelemetryVersion>
10+
<Configurations>Debug;Release</Configurations>
1011
</PropertyGroup>
1112

1213
<ItemGroup>
@@ -15,7 +16,7 @@
1516

1617
<ItemGroup>
1718
<None Include="..\.github\workflows\*.yml" LinkBase="ci" />
18-
<None Include=".github\**\*"/>
19-
<None Include=".nuke\*"/>
19+
<None Include=".github\**\*" />
20+
<None Include=".nuke\*" />
2021
</ItemGroup>
2122
</Project>

0 commit comments

Comments
 (0)