Looping over files not working on Windows
Hello,
I'm trying to replicate this: https://taskfile.dev/usage/#looping-over-your-tasks-sources-or-generated-files
It works on Ubuntu (WSL), but I cannot make it work with Windows 10. I tried with Powershell, with Git Bash, with absolute links, with both slashes (/ and ), etc.
I don't know what I could test. I do not have any error, no additional information with
--verbose
there is just no execution inside the for
.
I tried other commands like echo, and they exist in other context, just not with the for
.
I have the latest version, 3.44.0.
Any pointers? Thanks!Usage | Task
Running Taskfiles

4 Replies
@Keb Can you open a bug report in the form of a GitHub issue?
will do later today, thanks
here it is: https://github.com/go-task/task/issues/2335
GitHub
Cannot loop over task's sources or generated files on Windows · Is...
Description Hello, I tried to follow this simple example, but cannot make it work on Windows 10: https://taskfile.dev/usage/#looping-over-your-tasks-sources-or-generated-files I tested with Ubuntu ...
Thank you!