|
1 | 1 | {
|
2 | 2 | "$schema": "http://json-schema.org/draft-04/schema#",
|
3 |
| - "$ref": "#/definitions/build", |
4 |
| - "title": "Build Schema", |
| 3 | + "properties": { |
| 4 | + "CodeMaidPat": { |
| 5 | + "type": "string", |
| 6 | + "default": "Secrets must be entered via 'nuke :secrets [profile]'" |
| 7 | + }, |
| 8 | + "HasPublishWorkloads": { |
| 9 | + "type": "boolean" |
| 10 | + }, |
| 11 | + "Solution": { |
| 12 | + "type": "string", |
| 13 | + "description": "Path to a solution file that is automatically loaded" |
| 14 | + }, |
| 15 | + "VeinApiKey": { |
| 16 | + "type": "string", |
| 17 | + "default": "Secrets must be entered via 'nuke :secrets [profile]'" |
| 18 | + } |
| 19 | + }, |
5 | 20 | "definitions": {
|
6 |
| - "build": { |
7 |
| - "type": "object", |
| 21 | + "Host": { |
| 22 | + "type": "string", |
| 23 | + "enum": [ |
| 24 | + "AppVeyor", |
| 25 | + "AzurePipelines", |
| 26 | + "Bamboo", |
| 27 | + "Bitbucket", |
| 28 | + "Bitrise", |
| 29 | + "GitHubActions", |
| 30 | + "GitLab", |
| 31 | + "Jenkins", |
| 32 | + "Rider", |
| 33 | + "SpaceAutomation", |
| 34 | + "TeamCity", |
| 35 | + "Terminal", |
| 36 | + "TravisCI", |
| 37 | + "VSCode", |
| 38 | + "VisualStudio" |
| 39 | + ] |
| 40 | + }, |
| 41 | + "ExecutableTarget": { |
| 42 | + "type": "string", |
| 43 | + "enum": [ |
| 44 | + "BuildIshtar", |
| 45 | + "BuildIshtarNative", |
| 46 | + "BuildRune", |
| 47 | + "BuildTest", |
| 48 | + "BuildVeinStd", |
| 49 | + "BuildVeinc", |
| 50 | + "Compile", |
| 51 | + "Pack", |
| 52 | + "PackIshtar", |
| 53 | + "PublishRelease", |
| 54 | + "PublishVeinStd", |
| 55 | + "PublishWorkloads", |
| 56 | + "Restore", |
| 57 | + "TestWithCoverage" |
| 58 | + ] |
| 59 | + }, |
| 60 | + "Verbosity": { |
| 61 | + "type": "string", |
| 62 | + "description": "", |
| 63 | + "enum": [ |
| 64 | + "Verbose", |
| 65 | + "Normal", |
| 66 | + "Minimal", |
| 67 | + "Quiet" |
| 68 | + ] |
| 69 | + }, |
| 70 | + "NukeBuild": { |
8 | 71 | "properties": {
|
9 |
| - "CodeMaidPat": { |
10 |
| - "type": "string", |
11 |
| - "default": "Secrets must be entered via 'nuke :secrets [profile]'" |
12 |
| - }, |
13 | 72 | "Continue": {
|
14 | 73 | "type": "boolean",
|
15 | 74 | "description": "Indicates to continue a previously failed build attempt"
|
16 | 75 | },
|
17 |
| - "HasPublishWorkloads": { |
18 |
| - "type": "boolean" |
19 |
| - }, |
20 | 76 | "Help": {
|
21 | 77 | "type": "boolean",
|
22 | 78 | "description": "Shows the help text for this build assembly"
|
23 | 79 | },
|
24 | 80 | "Host": {
|
25 |
| - "type": "string", |
26 | 81 | "description": "Host for execution. Default is 'automatic'",
|
27 |
| - "enum": [ |
28 |
| - "AppVeyor", |
29 |
| - "AzurePipelines", |
30 |
| - "Bamboo", |
31 |
| - "Bitbucket", |
32 |
| - "Bitrise", |
33 |
| - "GitHubActions", |
34 |
| - "GitLab", |
35 |
| - "Jenkins", |
36 |
| - "Rider", |
37 |
| - "SpaceAutomation", |
38 |
| - "TeamCity", |
39 |
| - "Terminal", |
40 |
| - "TravisCI", |
41 |
| - "VSCode", |
42 |
| - "VisualStudio" |
43 |
| - ] |
| 82 | + "$ref": "#/definitions/Host" |
44 | 83 | },
|
45 | 84 | "NoLogo": {
|
46 | 85 | "type": "boolean",
|
|
69 | 108 | "type": "array",
|
70 | 109 | "description": "List of targets to be skipped. Empty list skips all dependencies",
|
71 | 110 | "items": {
|
72 |
| - "type": "string", |
73 |
| - "enum": [ |
74 |
| - "BuildIshtar", |
75 |
| - "BuildIshtarNative", |
76 |
| - "BuildRune", |
77 |
| - "BuildTest", |
78 |
| - "BuildVeinStd", |
79 |
| - "BuildVeinc", |
80 |
| - "Compile", |
81 |
| - "Pack", |
82 |
| - "PackIshtar", |
83 |
| - "PublishRelease", |
84 |
| - "PublishVeinStd", |
85 |
| - "PublishWorkloads", |
86 |
| - "Restore", |
87 |
| - "TestWithCoverage" |
88 |
| - ] |
| 111 | + "$ref": "#/definitions/ExecutableTarget" |
89 | 112 | }
|
90 | 113 | },
|
91 |
| - "Solution": { |
92 |
| - "type": "string", |
93 |
| - "description": "Path to a solution file that is automatically loaded" |
94 |
| - }, |
95 | 114 | "Target": {
|
96 | 115 | "type": "array",
|
97 | 116 | "description": "List of targets to be invoked. Default is '{default_target}'",
|
98 | 117 | "items": {
|
99 |
| - "type": "string", |
100 |
| - "enum": [ |
101 |
| - "BuildIshtar", |
102 |
| - "BuildIshtarNative", |
103 |
| - "BuildRune", |
104 |
| - "BuildTest", |
105 |
| - "BuildVeinStd", |
106 |
| - "BuildVeinc", |
107 |
| - "Compile", |
108 |
| - "Pack", |
109 |
| - "PackIshtar", |
110 |
| - "PublishRelease", |
111 |
| - "PublishVeinStd", |
112 |
| - "PublishWorkloads", |
113 |
| - "Restore", |
114 |
| - "TestWithCoverage" |
115 |
| - ] |
| 118 | + "$ref": "#/definitions/ExecutableTarget" |
116 | 119 | }
|
117 | 120 | },
|
118 |
| - "VeinApiKey": { |
119 |
| - "type": "string", |
120 |
| - "default": "Secrets must be entered via 'nuke :secrets [profile]'" |
121 |
| - }, |
122 | 121 | "Verbosity": {
|
123 |
| - "type": "string", |
124 | 122 | "description": "Logging verbosity during build execution. Default is 'Normal'",
|
125 |
| - "enum": [ |
126 |
| - "Minimal", |
127 |
| - "Normal", |
128 |
| - "Quiet", |
129 |
| - "Verbose" |
130 |
| - ] |
| 123 | + "$ref": "#/definitions/Verbosity" |
131 | 124 | }
|
132 | 125 | }
|
133 | 126 | }
|
134 |
| - } |
| 127 | + }, |
| 128 | + "$ref": "#/definitions/NukeBuild" |
135 | 129 | }
|
0 commit comments