1
0
mirror of https://github.com/go-task/task.git synced 2025-08-08 22:36:57 +02:00

modify json schema

This commit is contained in:
Valentin Maerten
2025-01-07 21:16:37 +01:00
parent 16ac79c561
commit c676b20385

View File

@ -699,6 +699,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"