mirror of
https://github.com/go-task/task.git
synced 2025-02-03 13:22:11 +02:00
modify json schema
This commit is contained in:
parent
3494378015
commit
49af480ac4
@ -678,6 +678,13 @@
|
|||||||
"description": "A set of global environment variables.",
|
"description": "A set of global environment variables.",
|
||||||
"$ref": "#/definitions/env"
|
"$ref": "#/definitions/env"
|
||||||
},
|
},
|
||||||
|
"preconditions": {
|
||||||
|
"description": "A list of commands to check if any task should run. If a condition is not met, the task will return an error.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/definitions/precondition"
|
||||||
|
}
|
||||||
|
},
|
||||||
"tasks": {
|
"tasks": {
|
||||||
"description": "A set of task definitions.",
|
"description": "A set of task definitions.",
|
||||||
"$ref": "#/definitions/tasks"
|
"$ref": "#/definitions/tasks"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user