11{
22 "$schema" : " http://json-schema.org/draft-04/schema#" ,
3- "title" : " Build Schema" ,
4- "$ref" : " #/definitions/build" ,
53 "definitions" : {
6- "build" : {
7- "type" : " object" ,
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+ "ExecutableTarget" : {
25+ "type" : " string" ,
26+ "enum" : [
27+ " Compile" ,
28+ " CompileSampleProjects" ,
29+ " IntegrationBuild"
30+ ]
31+ },
32+ "Verbosity" : {
33+ "type" : " string" ,
34+ "description" : " " ,
35+ "enum" : [
36+ " Verbose" ,
37+ " Normal" ,
38+ " Minimal" ,
39+ " Quiet"
40+ ]
41+ },
42+ "NukeBuild" : {
843 "properties" : {
9- "Configuration" : {
10- "type" : " string" ,
11- "description" : " Configuration to build ('Debug' or 'Release')" ,
12- "enum" : [
13- " Debug" ,
14- " Release"
15- ]
16- },
1744 "Continue" : {
1845 "type" : " boolean" ,
1946 "description" : " Indicates to continue a previously failed build attempt"
2350 "description" : " Shows the help text for this build assembly"
2451 },
2552 "Host" : {
26- "type" : " string" ,
2753 "description" : " Host for execution. Default is 'automatic'" ,
28- "enum" : [
29- " AppVeyor" ,
30- " AzurePipelines" ,
31- " Bamboo" ,
32- " Bitrise" ,
33- " GitHubActions" ,
34- " GitLab" ,
35- " Jenkins" ,
36- " Rider" ,
37- " SpaceAutomation" ,
38- " TeamCity" ,
39- " Terminal" ,
40- " TravisCI" ,
41- " VisualStudio" ,
42- " VSCode"
43- ]
54+ "$ref" : " #/definitions/Host"
4455 },
4556 "NoLogo" : {
4657 "type" : " boolean" ,
6576 "type" : " string" ,
6677 "description" : " Root directory during build execution"
6778 },
68- "SampleBrowserDesktopSolution" : {
69- "type" : " string" ,
70- "description" : " Path to a solution file that is automatically loaded. Default is Samples/SampleBrowser/SampleBrowser.Desktop.sln"
71- },
72- "SampleBrowserWebSolution" : {
73- "type" : " string" ,
74- "description" : " Path to a solution file that is automatically loaded. Default is Samples/SampleBrowser/SampleBrowser.Web.sln"
75- },
7679 "Skip" : {
7780 "type" : " array" ,
7881 "description" : " List of targets to be skipped. Empty list skips all dependencies" ,
7982 "items" : {
80- "type" : " string" ,
81- "enum" : [
82- " Compile" ,
83- " CompileSampleProjects" ,
84- " IntegrationBuild"
85- ]
83+ "$ref" : " #/definitions/ExecutableTarget"
8684 }
8785 },
8886 "Target" : {
8987 "type" : " array" ,
9088 "description" : " List of targets to be invoked. Default is '{default_target}'" ,
9189 "items" : {
92- "type" : " string" ,
93- "enum" : [
94- " Compile" ,
95- " CompileSampleProjects" ,
96- " IntegrationBuild"
97- ]
90+ "$ref" : " #/definitions/ExecutableTarget"
9891 }
9992 },
10093 "Verbosity" : {
101- "type" : " string" ,
10294 "description" : " Logging verbosity during build execution. Default is 'Normal'" ,
95+ "$ref" : " #/definitions/Verbosity"
96+ }
97+ }
98+ }
99+ },
100+ "allOf" : [
101+ {
102+ "properties" : {
103+ "Configuration" : {
104+ "type" : " string" ,
105+ "description" : " Configuration to build ('Debug' or 'Release')" ,
103106 "enum" : [
104- " Minimal" ,
105- " Normal" ,
106- " Quiet" ,
107- " Verbose"
107+ " Debug" ,
108+ " Release"
108109 ]
110+ },
111+ "SampleBrowserDesktopSolution" : {
112+ "type" : " string" ,
113+ "description" : " Path to a solution file that is automatically loaded. Default is Samples/SampleBrowser/SampleBrowser.Desktop.sln"
114+ },
115+ "SampleBrowserWebSolution" : {
116+ "type" : " string" ,
117+ "description" : " Path to a solution file that is automatically loaded. Default is Samples/SampleBrowser/SampleBrowser.Web.sln"
109118 }
110119 }
120+ },
121+ {
122+ "$ref" : " #/definitions/NukeBuild"
111123 }
112- }
113- }
124+ ]
125+ }
0 commit comments