This commit is contained in:
Andrey Nering
2025-04-21 13:50:40 -03:00
parent 0a6cd1ee42
commit c2123dc016
15 changed files with 686 additions and 472 deletions

View File

@@ -196,9 +196,12 @@ If defined as a string this is a shell command, otherwise it is a map defining a
The `for` parameter can be defined as a string, a list of strings or a map. If
it is defined as a string, you can give it any of the following values:
- `source` - Will run the command for each source file defined on the task.
- `sources` - Will run the command for each source file defined on the task.
(Glob patterns will be resolved, so `*.go` will run for every Go file that
matches).
- `generates` - Will run the command for each file defined in the task's generates
list. (Glob patterns will be resolved, so `*.txt` will run for every text file
that matches).
If it is defined as a list of strings, the command will be run for each value.