mirror of
https://github.com/go-task/task.git
synced 2024-12-12 10:45:49 +02:00
fix(json-schema): add missing platforms
property to cmds for
(#1915)
This commit is contained in:
parent
6645a1f34c
commit
517bb3fc97
@ -6,6 +6,12 @@
|
||||
"env": {
|
||||
"$ref": "#/definitions/vars"
|
||||
},
|
||||
"platforms": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"tasks": {
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
@ -179,10 +185,7 @@
|
||||
},
|
||||
"platforms": {
|
||||
"description": "Specifies which platforms the task should be run on.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
"$ref": "#/definitions/platforms"
|
||||
},
|
||||
"requires": {
|
||||
"description": "A list of variables which should be set if this task is to run, if any of these variables are unset the task will error and not run",
|
||||
@ -341,10 +344,7 @@
|
||||
},
|
||||
"platforms": {
|
||||
"description": "Specifies which platforms the command should be run on.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
"$ref": "#/definitions/platforms"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
@ -396,6 +396,10 @@
|
||||
"vars": {
|
||||
"description": "Values passed to the task called",
|
||||
"$ref": "#/definitions/vars"
|
||||
},
|
||||
"platforms": {
|
||||
"description": "Specifies which platforms the command should be run on.",
|
||||
"$ref": "#/definitions/platforms"
|
||||
}
|
||||
},
|
||||
"oneOf": [
|
||||
|
Loading…
Reference in New Issue
Block a user