1
0
mirror of https://github.com/go-task/task.git synced 2025-04-19 23:02:17 +03:00

4 Commits

Author SHA1 Message Date
Pete Davison
cd81d94e18
feat: better functional options for reader (#2148) 2025-04-01 14:51:25 +01:00
Pete Davison
ffeb3bcc3f
refactor: executor functional options (#2085)
* refactor: executor functional options

* refactor: minor tidy up of list code

* fix: WithVersionCheck missing from call to NewExecutor

* feat: docstrings for structs with functional options

* refactor: prefix the functional options with the name of the struct they belong to
2025-03-10 20:38:25 +00:00
Oleksandr Redko
a266fba93e
chore: add linter mirror (#2060) 2025-02-24 09:06:54 -03:00
Pete Davison
cdb6a3f70a
feat: decoding improvements (#2068)
* refactor: moved/simplified snippets into its own file with tests

* refactor: move snippet to taskfile package

* feat: support snippets with line/col = 0

* feat: functional options for snippets

* feat: added option to hide snippet indicators

* feat: store raw lines for length calculations

* feat: add debug function for TaskfileDecodeError

* fix: decode errors from commands

* fix: schema for defer cmd calls

* fix: linting issues

* refactor: split var and vars into different files like other structures
2025-02-22 15:44:22 +00:00