1
0
mirror of https://github.com/go-task/task.git synced 2025-05-13 22:16:31 +02:00

7 Commits

Author SHA1 Message Date
Pete Davison
a84f09d45f
feat: remote taskfile improvements (cache/expiry) (#2176)
* feat: cache as node, RemoteNode and cache-first approach

* feat: cache expiry

* feat: pass ctx into reader methods instead of timeout

* docs: updated remote taskfiles experiment doc

* feat: use cache if download fails
2025-04-19 12:12:08 +01:00
Andrey Nering
768dca053b
fix: .USER_WORKING_DIR should contain the value of --dir if given (#2186)
Closes #2102
Closes #2103

Co-authored-by: jaynis <kranz.jannis@googlemail.com>
2025-04-18 22:27:30 -03:00
Pete Davison
cd81d94e18
feat: better functional options for reader (#2148) 2025-04-01 14:51:25 +01:00
Pete Davison
2a92b70bc2
feat: better functional options (#2147) 2025-03-31 21:49:00 +01:00
Pete Davison
4736bc2734
refactor: unify how executor tests are written (#2042)
* feat: use TaskTest for executor tests

* feat: more tests

* feat: separate tests for executing and formatting with new functional options that work for both test types

* feat: formatter tests

* refactor: more tests
2025-03-31 17:53:58 +01:00
Andrey Nering
0d5f2b5dab
feat(watcher): migrate to fsnotify (#2048) 2025-03-22 20:06:16 -03: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