diff options
| author | nicole mazzuca <mazzucan@outlook.com> | 2021-03-10 15:33:16 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-10 15:33:16 -0800 |
| commit | fe2a6bb789e904520797ec229272c6c1a42e7e38 (patch) | |
| tree | cedcaf8be3521bf5e3b5ce92f2a8cb496f2615fc /scripts/vcpkg.schema.json | |
| parent | 6ee0e916d34e45ea0b41b35c3fd8cfb7ce2455e9 (diff) | |
| download | vcpkg-fe2a6bb789e904520797ec229272c6c1a42e7e38.tar.gz vcpkg-fe2a6bb789e904520797ec229272c6c1a42e7e38.zip | |
[host dependencies] add support in the scripts (#16627)
This contains all the docs and scripts changes from #16479,
without any of the ports changes, for easier CR
Diffstat (limited to 'scripts/vcpkg.schema.json')
| -rw-r--r-- | scripts/vcpkg.schema.json | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/scripts/vcpkg.schema.json b/scripts/vcpkg.schema.json index c485aa415..215f5dd9c 100644 --- a/scripts/vcpkg.schema.json +++ b/scripts/vcpkg.schema.json @@ -128,6 +128,10 @@ "$ref": "#/definitions/identifier" } }, + "host": { + "type": "boolean", + "default": false + }, "default-features": { "type": "boolean", "default": true @@ -190,9 +194,6 @@ "description": "A package feature that can be activated by consumers.", "type": "object", "properties": { - "name": { - "$ref": "#/definitions/identifier" - }, "description": { "$ref": "#/definitions/description-field" }, @@ -208,7 +209,6 @@ "^\\$": {} }, "required": [ - "name", "description" ], "additionalProperties": false @@ -279,10 +279,13 @@ } }, "features": { - "description": "An array of features supported by the package", - "type": "array", - "items": { - "$ref": "#/definitions/feature" + "description": "An object of features supported by the package", + "type": "object", + "patternProperties": { + "^\\$": {}, + "^[a-z-]+": { + "$ref": "#/definitions/feature" + } } }, "default-features": { |
