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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
(e.g., URLs or namespaced functions) (#2101, #2573 by @vmaerten).
- The `--yes` flag is now accessible in templates via the new `CLI_ASSUME_YES`
variable (#2577, #2479 by @semihbkgr).
- Fixed false positive "property 'for' is not allowed" warnings in IntelliJ when
using `for` loops in Taskfiles (#2576 by @vmaerten).

## v3.45.5 - 2025-11-11

Expand Down
33 changes: 26 additions & 7 deletions website/src/public/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,10 @@
"$ref": "#/definitions/defer_cmd_call"
},
{
"$ref": "#/definitions/for_cmds_call"
"$ref": "#/definitions/for_cmd_call"
},
{
"$ref": "#/definitions/for_task_call"
}
]
},
Expand Down Expand Up @@ -401,7 +404,7 @@
"additionalProperties": false,
"required": ["defer"]
},
"for_cmds_call": {
"for_cmd_call": {
"type": "object",
"properties": {
"for": {
Expand All @@ -415,6 +418,20 @@
"description": "Silent mode disables echoing of command before Task runs it",
"type": "boolean"
},
"platforms": {
"description": "Specifies which platforms the command should be run on.",
"$ref": "#/definitions/platforms"
}
},
"additionalProperties": false,
"required": ["for", "cmd"]
},
"for_task_call": {
"type": "object",
"properties": {
"for": {
"$ref": "#/definitions/for"
},
"task": {
"description": "Task to run",
"type": "string"
Expand All @@ -423,14 +440,17 @@
"description": "Values passed to the task called",
"$ref": "#/definitions/vars"
},
"silent": {
"description": "Silent mode disables echoing of command before Task runs it",
"type": "boolean"
},
"platforms": {
"description": "Specifies which platforms the command should be run on.",
"$ref": "#/definitions/platforms"
}
},
"oneOf": [{ "required": ["cmd"] }, { "required": ["task"] }],
"additionalProperties": false,
"required": ["for"]
"required": ["for", "task"]
},
"for_deps_call": {
"type": "object",
Expand All @@ -451,9 +471,8 @@
"$ref": "#/definitions/vars"
}
},
"oneOf": [{ "required": ["cmd"] }, { "required": ["task"] }],
"additionalProperties": false,
"required": ["for"]
"required": ["for", "task"]
},
"for": {
"anyOf": [
Expand All @@ -475,7 +494,7 @@
"description": "A list of values to iterate over",
"type": "array",
"items": {
"type": "string"
"type": ["string", "number"]
}
},
"for_attribute": {
Expand Down
Loading