|
|
@ -1,24 +1,5 @@ |
|
|
|
{ |
|
|
|
"$schema": "http://json-schema.org/draft-04/schema#", |
|
|
|
"properties": { |
|
|
|
"Configuration": { |
|
|
|
"type": "string", |
|
|
|
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)", |
|
|
|
"enum": [ |
|
|
|
"Debug", |
|
|
|
"Release" |
|
|
|
] |
|
|
|
}, |
|
|
|
"GitHubToken": { |
|
|
|
"type": "string", |
|
|
|
"description": "GitHub API token", |
|
|
|
"default": "Secrets must be entered via 'nuke :secrets [profile]'" |
|
|
|
}, |
|
|
|
"Solution": { |
|
|
|
"type": "string", |
|
|
|
"description": "Path to a solution file that is automatically loaded" |
|
|
|
} |
|
|
|
}, |
|
|
|
"definitions": { |
|
|
|
"Host": { |
|
|
|
"type": "string", |
|
|
@ -119,5 +100,30 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"$ref": "#/definitions/NukeBuild" |
|
|
|
"allOf": [ |
|
|
|
{ |
|
|
|
"properties": { |
|
|
|
"Configuration": { |
|
|
|
"type": "string", |
|
|
|
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)", |
|
|
|
"enum": [ |
|
|
|
"Debug", |
|
|
|
"Release" |
|
|
|
] |
|
|
|
}, |
|
|
|
"GitHubToken": { |
|
|
|
"type": "string", |
|
|
|
"description": "GitHub API token", |
|
|
|
"default": "Secrets must be entered via 'nuke :secrets [profile]'" |
|
|
|
}, |
|
|
|
"Solution": { |
|
|
|
"type": "string", |
|
|
|
"description": "Path to a solution file that is automatically loaded" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"$ref": "#/definitions/NukeBuild" |
|
|
|
} |
|
|
|
] |
|
|
|
} |