Pete Davison
38a06dad8e
feat: error when multiple wildcard matches are found
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
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
8cfac5a25a
refactor: remove newlines from formatter print functions ( #1137 )
2023-04-26 21:20:06 -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
09c9094a6b
feat: enforce gofumpt linter
2023-04-05 21:55:42 -03:00
Pete Davison
376a6182eb
feat: aliases
...
feat: add aliases to --list and --list-all flags
feat: add aliases to --summary
feat: enable aliases for included tasks
tests: added alias unit tests
2022-10-07 11:11:14 +00:00
Pete Davison
8ce1782380
feat: add coloured output to --list, --list-all and --summary flags
...
feat: add coloured output to --list and --list-all
feat: add coloured output to --summary
chore: update colors
refactor: better consistency in writer calls in printTasks
feat: subtasks are printed green in --summary
2022-10-07 09:54:17 +00:00
Andrey Nering
83d25bfa00
Refactor: Fix import order
...
It should be: stdlib > libs > app
2021-01-07 11:48:33 -03:00
Damian Szulc
47dd9b5a03
Move args and taskfile packages to root directory
2020-08-19 10:59:58 +02:00
Andrey Nering
fb72b46a3c
github.com/go-task/task/v2 -> github.com/go-task/task/v3
2020-08-16 15:48:19 -03:00
Adam Wasila
9f83311931
Add label field to task definition
...
Label is an alternative name for task that replace it when printed in following context eg.:
- log: when given task is up to date and is skipped from execution
- log: when given task is NOT up to date (`--status` command)
- in `--summary` and `--list` commands output
2020-06-14 13:42:20 +02:00
Andrey Nering
acfbbaa549
Merge branch 'master' into v3
2020-03-28 10:48:49 -03:00
Paul Varache
7453e688fd
Compile tasks before printing help or summary ( Closes #276 )
2020-01-26 21:32:20 +00:00
Andrey Nering
8efc38ad82
Use colors for some output messages
2019-05-26 18:36:39 -03:00
jaedle
360da29e1f
refactoring
2019-03-04 13:04:04 +01:00
jaedle
9cfac1642a
rename method for summary/summaries
2019-03-04 13:03:13 +01:00
jaedle
1d783bf6c7
refactoring
2019-03-04 12:47:01 +01:00
jaedle
1025c2e3a1
add unit test for spacing between summaries
2019-03-04 12:46:02 +01:00
jaedle
4fd82ab222
refactoring
2019-03-04 12:28:26 +01:00
jaedle
8eadfc1bf6
refactoring
2019-03-04 12:28:11 +01:00
jaedle
f66edbad50
refactoring
2019-03-04 12:27:10 +01:00
jaedle
c7f17b5319
refactoring
2019-03-04 12:25:42 +01:00
jaedle
7e7e1bccba
rearrange imports
2019-03-04 12:04:31 +01:00
jaedle
34f6da86c3
rearrange imports
2019-03-04 12:03:28 +01:00
Andrey Nering
f945cf2343
Update internal/summary/summary_test.go
...
Co-Authored-By: jaedle <32975714+jaedle@users.noreply.github.com>
2019-03-03 19:45:00 +01:00
Andrey Nering
f5f0e0c376
Update internal/summary/summary.go
...
Co-Authored-By: jaedle <32975714+jaedle@users.noreply.github.com>
2019-03-03 19:43:57 +01:00
jaedle
2a1571a99e
refactoring
2019-02-24 19:14:15 +01:00
jaedle
3f8ee21849
print error messsage if no summary or description present
2019-02-24 18:26:16 +01:00
jaedle
845b88a193
print only task name if summary
2019-02-24 18:20:59 +01:00
jaedle
e252972c7f
rename test
2019-02-24 17:29:03 +01:00
jaedle
a9012ebfc5
refactoring
2019-02-24 17:28:06 +01:00
jaedle
5cfd9bbbbd
refactoring
2019-02-24 17:25:03 +01:00
jaedle
c82a7240bb
print task in command section
2019-02-24 17:23:31 +01:00
jaedle
a4a20d92a4
add unit test for full output
2019-02-24 17:20:29 +01:00
jaedle
890996f595
hides commands keywoard if not present
2019-02-24 17:12:22 +01:00
jaedle
474f27c6d3
add unit test for displaying commands
2019-02-24 17:10:59 +01:00
jaedle
33f3894372
add unit tests for summary
2019-02-24 17:05:37 +01:00
jaedle
24436ac76e
refactoring
2019-02-24 16:26:46 +01:00
jaedle
3ee66ef705
remove output to own package
2019-02-24 16:25:27 +01:00