1
0
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:
Valentin Maerten 2025-01-07 21:16:37 +01:00
parent 3494378015
commit 49af480ac4
No known key found for this signature in database
GPG Key ID: 2F8E54DDF815C341

View File

@ -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"