Valentin Maerten
fe542d5418
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-06-07 15:02:39 +02:00
Andrey Nering
fc5f6fa3aa
fix: pin yaml package to v3 for now ( #2693 )
2026-02-17 15:29:51 -03:00
Timothy Rule
f6720760b4
fix(includes): propagate silent mode from included Taskfiles to tasks ( #2640 )
2026-01-25 16:33:52 +01:00
Andrey Nering
ee99849b1d
refactor: migrate to the official yaml package ( #2434 )
...
The old package is long archived, but the YAML org forked it and will
officially maintain it from now on.
* Old: https://github.com/go-yaml/yaml
* New: https://github.com/yaml/go-yaml
2025-11-11 19:49:37 +00:00
Pete Davison
2965841eb7
feat: use external package for ordered maps ( #1797 )
2024-12-30 17:54:36 +00:00
Valentin Maerten
ef3b853728
feat: add option to declare an included Taskfile as flatten ( #1704 )
2024-08-26 17:17:39 -04:00
Pete Davison
8d138a5eea
feat: better yaml parsing and error handling ( #1619 )
2024-05-16 01:24:02 +00:00
Pete Davison
e9448bd4be
fix: advanced import operates on including file instead of included file
2024-04-09 12:37:18 +01:00
Pete Davison
fb9f6c20ab
feat: merger
2024-04-09 12:37:18 +01:00
Pete Davison
d6b2926828
refactor: move task merge code into a method
2024-01-25 21:23:28 -03:00
Pete Davison
909ec1ed0f
refactor: convert taskfile.Merge into a method
2024-01-25 21:23:28 -03:00
Pete Davison
e2b85c6aa1
feat: version checks
2024-01-25 21:05:23 -03:00
Pete Davison
5fc66293b0
refactor: IncludedTaskfiles -> Includes
2024-01-11 14:00:30 +00:00
Pete Davison
247c2586c2
refactor: taskfile/ast package ( #1450 )
...
* refactor: ast package
* feat: read -> taskfile
* refactor: taskfile.Taskfile -> taskfile.Read
* refactor: move merge function back into taskfile package
* refactor: rename taskfile.go to read.go
2023-12-29 20:32:03 +00:00