1
0
mirror of https://github.com/go-task/task.git synced 2026-04-26 20:02:40 +02:00
Files
Valentin Maerten 092663a2f2 feat: add gitignore option to exclude ignored files from sources/generates
When `gitignore: true` is set at the Taskfile or task level, files
matching .gitignore rules are automatically excluded from sources and
generates glob resolution. This prevents rebuilds triggered by changes
to files that are in .gitignore (build artifacts, generated files, etc.).

Uses go-git to load .gitignore patterns including nested .gitignore
files, .git/info/exclude, and global gitignore configuration.
2026-04-20 22:05:02 +02:00

2 lines
15 B
Plaintext