diff --git a/.nuke/build.schema.json b/.nuke/build.schema.json index 892569a3..88de686d 100644 --- a/.nuke/build.schema.json +++ b/.nuke/build.schema.json @@ -1,34 +1,5 @@ { "$schema": "http://json-schema.org/draft-04/schema#", - "properties": { - "Artifacts": { - "type": "string", - "description": "The directory where artifacts are to be dropped" - }, - "Configuration": { - "type": "string", - "description": "Configuration to build", - "enum": [ - "Debug", - "Release" - ] - }, - "Coverage": { - "type": "string", - "description": "The directory where coverage artifacts are to be dropped" - }, - "lint-files": { - "type": "array", - "description": "The files to lint, if not given lints all files", - "items": { - "type": "string" - } - }, - "Solution": { - "type": "string", - "description": "Path to a solution file that is automatically loaded" - } - }, "definitions": { "Host": { "type": "string", @@ -148,5 +119,40 @@ } } }, - "$ref": "#/definitions/NukeBuild" + "allOf": [ + { + "properties": { + "Artifacts": { + "type": "string", + "description": "The directory where artifacts are to be dropped" + }, + "Configuration": { + "type": "string", + "description": "Configuration to build", + "enum": [ + "Debug", + "Release" + ] + }, + "Coverage": { + "type": "string", + "description": "The directory where coverage artifacts are to be dropped" + }, + "lint-files": { + "type": "array", + "description": "The files to lint, if not given lints all files", + "items": { + "type": "string" + } + }, + "Solution": { + "type": "string", + "description": "Path to a solution file that is automatically loaded" + } + } + }, + { + "$ref": "#/definitions/NukeBuild" + } + ] }