Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 40 additions & 12 deletions schema/mise-task.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,32 @@
"type": "boolean"
},
"outputs": {
"description": "files created by this task",
"items": {
"description": "glob pattern or path to files created by this task",
"type": "string"
},
"type": "array"
"oneOf": [
{
"description": "files created by this task",
"items": {
"description": "glob pattern or path to files created by this task",
"type": "string"
},
"type": "array"
},
{
"description": "glob pattern or path to files created by this task",
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"auto": {
"description": "automatically touch an internal tracked file instead of specifying outputs",
"enum": [true],
"type": "boolean"
}
},
"required": ["auto"],
"type": "object"
}
]
},
"quiet": {
"description": "do not display mise information for this task",
Expand Down Expand Up @@ -213,12 +233,20 @@
"type": "string"
},
"sources": {
"description": "files that this task depends on",
"items": {
"description": "glob pattern or path to files that this task depends on",
"type": "string"
},
"type": "array"
"oneOf": [
{
"description": "files that this task depends on",
"items": {
"description": "glob pattern or path to files that this task depends on",
"type": "string"
},
"type": "array"
},
{
"description": "glob pattern or path to files that this task depends on",
"type": "string"
}
]
},
"shell": {
"description": "specify a shell command to run the script with",
Expand Down
52 changes: 40 additions & 12 deletions schema/mise.json
Original file line number Diff line number Diff line change
Expand Up @@ -1110,12 +1110,32 @@
"type": "boolean"
},
"outputs": {
"description": "files created by this task",
"items": {
"description": "glob pattern or path to files created by this task",
"type": "string"
},
"type": "array"
"oneOf": [
{
"description": "files created by this task",
"items": {
"description": "glob pattern or path to files created by this task",
"type": "string"
},
"type": "array"
},
{
"description": "glob pattern or path to files created by this task",
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"auto": {
"description": "automatically touch an internal tracked file instead of specifying outputs",
"enum": [true],
"type": "boolean"
}
},
"required": ["auto"],
"type": "object"
}
]
},
"quiet": {
"description": "do not display mise information for this task",
Expand Down Expand Up @@ -1162,12 +1182,20 @@
"type": "string"
},
"sources": {
"description": "files that this task depends on",
"items": {
"description": "glob pattern or path to files that this task depends on",
"type": "string"
},
"type": "array"
"oneOf": [
{
"description": "files that this task depends on",
"items": {
"description": "glob pattern or path to files that this task depends on",
"type": "string"
},
"type": "array"
},
{
"description": "glob pattern or path to files that this task depends on",
"type": "string"
}
]
},
"shell": {
"description": "specify a shell command to run the script with",
Expand Down
Loading