Pete Davison
4024b4fa37
chore: remove code that outputs the graphviz file
2024-04-09 12:37:18 +01:00
Pete Davison
fb9f6c20ab
feat: merger
2024-04-09 12:37:18 +01:00
Pete Davison
a50580b5a1
feat: dag reader
2024-04-09 12:37:18 +01:00
Pete Davison
64b7d3415a
feat: use timeout in RemoteExists function
2024-03-25 19:13:27 +00:00
Pete Davison
cbc19d35ea
feat: root remote taskfiles
2024-03-25 19:13:27 +00:00
Pete Davison
3c05c9c6e1
fix: taskfile directory ( #1530 )
...
* fix: taskfile directory
* tests: add tests for special vars when running from a subdirectory
2024-03-04 11:34:44 +00:00
Pete Davison
bb9d582255
feat: stdin node
2024-02-22 14:59:54 -06:00
Pete Davison
3ff8fdbc0a
feat: add ROOT_TASKFILE special variable ( #1469 )
2024-01-25 21:11:08 -03:00
Pete Davison
e2b85c6aa1
feat: version checks
2024-01-25 21:05:23 -03: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
Pete Davison
2b67d05b9d
feat: remove v2 support ( #1447 )
...
* feat: remove v2 support
* docs: update v2 schema docs
2023-12-29 20:26:02 +00:00
Pete Davison
546a4d7e46
feat: prefer remote taskfiles over cached ones ( #1345 )
...
* feat: prefer remote taskfiles over cached ones
* feat: implemented cache on network timeout
* feat: --download always downloads, but never executes tasks
* feat: --timeout flag
* fix: bug with timeout error handling
* chore: changelog
2023-11-17 14:51:10 -06:00
Pete Davison
dc77286282
feat: unify prompts ( #1344 )
2023-10-07 21:55:43 +00:00
Pete Davison
d1d312f396
refactor: minor improvements to setCurrentDir
2023-09-14 21:28:43 -03:00
Pete Davison
ba299aa71f
fix: incorrect remote taskfiles cache directory
2023-09-14 21:28:43 -03:00
Pete Davison
8e7e231aec
fix: e.Dir not being set to the correct directory
2023-09-14 21:28:43 -03:00
Pete Davison
22ce67c5e5
feat: remote taskfiles (HTTP) ( #1152 )
...
* feat: remote taskfiles over http
* feat: allow insecure connections when --insecure flag is provided
* feat: better error handling for fetch errors
* fix: ensure cache directory always exists
* fix: setup logger before everything else
* feat: put remote taskfiles behind an experiment
* feat: --download and --offline flags for remote taskfiles
* feat: node.Read accepts a context
* feat: experiment docs
* chore: changelog
* chore: remove unused optional param from Node interface
* chore: tidy up and generalise NewNode function
* fix: use sha256 in remote checksum
* feat: --download by itself will not run a task
* feat: custom error if remote taskfiles experiment is not enabled
* refactor: BaseNode functional options and simplified FileNode
* fix: use hex encoding for checksum instead of b64
2023-09-12 22:42:54 +01:00
Pete Davison
afe8a618fe
feat: node refactor ( #1316 )
...
* refactor: node reader interface
* refactor: rewrite Taskfile() as anon recursive func
* chore: NewNodeFromIncludedTaskfile
* chore: changelog
2023-09-02 21:24:01 +01:00
Andrey Nering
e96712b020
fix: make sure USER_WORKING_DIR works corrently with includes ( #1309 )
...
Closes #1046
Closes #1205
Closes #1250
Closes #1293
Closes #1274
Closes #1309
Closes #1312
Co-authored-by: Marcus Spading <ms@fragmentum.net>
2023-08-26 21:06:50 +00:00
Pete Davison
7a2f8d691c
feat: add a deprecation warning when running Taskfiles with a v2 schema ( #1199 )
2023-06-03 21:05:48 -03:00
Pete Davison
f22389a824
feat: implement task sorting with --sort
flag ( #1105 )
...
* refactor: move deepcopy into its own package
* feat: add generic orderedmap implementation
* refactor: implement tasks with orderedmap
* feat: implement sort flag for all task outputs
* refactor: implement vars with orderedmap
* chore: docs
* fix: linting issues
* fix: non deterministic behavior in tests
2023-04-06 12:07:57 +01:00
Pete Davison
8b72c86ba5
feat: use semver package for taskfile schema version
2023-02-10 18:14:38 +00:00
Pete Davison
b3627fcb18
Run Taskfiles from sub/child directories ( #920 )
2022-12-05 21:58:20 -03:00
Andrey Nering
a990ffe53d
Refactor: Use early return
2022-11-02 10:23:19 -03:00
Andrey Nering
460b89ce51
Merge branch 'feat/suggest-similar-task'
2022-10-14 20:08:00 -03:00
Max Pushkarov
3e5ee2332a
feat: suggest the most similar task name when a given task does not exist
2022-10-10 13:17:19 +03:00
Andrey Nering
f45dd11e53
Add ROOT_DIR and TASKFILE_DIR special variables
...
Closes #215
2022-09-03 18:14:54 -03:00
Andrey Nering
c4e10ef0aa
Refactor: Add SmartJoin to handle IsAbs automatically
2022-08-06 18:19:07 -03:00
Andrey Nering
bf9cd7625b
Refactor task.Setup(): Move to its own file and split in separated functions
2022-07-08 15:16:04 -03:00