Pete Davison
148b090d8e
fix: bug where non-nil, empty dynamic variables are returned as an empty interface ( #1904 )
2024-11-04 13:30:39 +00:00
Matheus Mina
5581954fb1
feat: allow providing single or multi prompts ( #1866 )
...
* Add new type to handle single or multi prompts
* update docs
* apply review
2024-10-29 13:37:03 +00:00
Valentin Maerten
a35910429c
feat: option to ensure variable is within the list of values ( #1827 )
2024-10-18 18:16:57 +02:00
Valentin Maerten
0e2c9cc88f
fix: include flatten with a default task ( #1778 )
2024-09-06 10:44:28 -03:00
Pete Davison
e4b4d04abd
fix: matrix loops should be deterministic ( #1784 )
2024-09-02 22:43:54 +01:00
Pete Davison
281d259e6e
feat: loop over a matrix ( #1767 )
2024-09-02 20:29:00 +01: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
5e9851f42f
Update minimum go version ( #1758 )
...
* feat: update minimum version to 1.22
* refactor: use int range iterator
* refactor: loop variables
* refactor: replace slicesext.FirstNonZero with cmp.Or
* refactor: use slices.Concat instead of append
* fix: unused param
* fix: linting
2024-08-14 08:37:05 -05:00
Pete Davison
3aaa3223a0
fix: run once in shared dependencies ( #1655 )
...
* fix: run once in shared dependencies
* feat: add test
2024-06-28 16:50:02 +01:00
Pete Davison
a3fce1c302
feat: variable references ( #1654 )
...
* feat: add references to the base code instead of the maps experiment
* feat: add template functions to ref resolver
* feat: tests
* docs: variable references
* feat: remove json and yaml keys from map variable experiment
* chore: typo
2024-05-16 16:20:59 +01:00
Pete Davison
8d138a5eea
feat: better yaml parsing and error handling ( #1619 )
2024-05-16 01:24:02 +00:00
Pete Davison
725f929778
fix: included variable merging ( #1649 )
2024-05-12 20:32:09 +01:00
Pete Davison
f75aa1f84b
feat: taskfile mutex for adding edge data
2024-04-24 18:33:56 +01:00
Pete Davison
f19c520f23
feat: add support for multiple includes on a graph edge
2024-04-24 18:33:56 +01:00
Pete Davison
6951e5cd0c
refactor: includes uses pointers
2024-04-24 18:33:56 +01:00
Pete Davison
54c7f35b00
fix: linting issues
2024-04-09 12:37:18 +01:00
Pete Davison
3efb437c9a
feat: merge concurrency
2024-04-09 12:37:18 +01: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
8f3180a9fa
fix: bug with merge code
2024-04-09 12:37:18 +01:00
Pete Davison
1d230af90d
fix: advanced import resolving dynamic variables incorrectly
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
1ff618cc17
feat: enable any variables without maps ( #1547 )
...
* feat: enable any variable experiment (without maps)
* chore: rename any_variables experiment to map_variables
* docs: create map variables experiment docs and update usage
* blog: any variables
* fix: links
* fix: warn about broken links instead of failing
2024-04-09 12:14:14 +01:00
Pete Davison
cbc19d35ea
feat: root remote taskfiles
2024-03-25 19:13:27 +00:00
Pete Davison
f06f48e225
feat: looping over dependencies ( #1541 )
...
* feat: support for loops in deps
* chore: tests
* docs: looping over deps
2024-03-10 17:21:50 +00:00
Pete Davison
aff1f5316d
feat: taskfile special variable ( #1523 )
2024-03-03 22:45:23 +00:00
Pete Davison
38a06dad8e
feat: error when multiple wildcard matches are found
2024-02-22 14:58:24 -06:00
Pete Davison
9a3d2bc3aa
feat: wildcard matching of task names
2024-02-22 14:58:24 -06:00
Pete Davison
1ef5cf71d0
feat: pass ast.Call by reference
2024-02-22 14:58:24 -06:00
Pete Davison
8d0754af4d
feat: go 1.21
2024-02-17 23:29:49 -03: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
98ea907284
fix: bug where silent value was not deep copied on dependencies
2024-01-11 14:44:04 +00:00
Pete Davison
1f3fca50b3
feat: add ability to call task with variable by reference
2024-01-11 14:44:04 +00:00
Pete Davison
c655d90ab3
feat: add json and yaml variable constructors
2024-01-11 14:44:04 +00:00
Pete Davison
2ccf80713d
feat: add sh and map (value) support
2024-01-11 14:44:04 +00:00
Pete Davison
dfe39bfb5d
feat: support multiple experiment values
2024-01-11 14:44:04 +00:00
Pete Davison
7cb45a23b6
refactor: orderedmap package -> omap
2024-01-11 14:00:30 +00:00
Pete Davison
1a03c3fbaf
feat: includes should use OrderedMap
2024-01-11 14:00:30 +00:00
Pete Davison
d684e59b6a
feat: store namespace directly in include
2024-01-11 14:00:30 +00:00
Pete Davison
5fc66293b0
refactor: IncludedTaskfiles -> Includes
2024-01-11 14:00:30 +00:00
Pete Davison
42af0fc791
feat: invert call.Direct ( #1459 )
2024-01-10 21:32:49 -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