Pete Davison
|
d33906b6e4
|
fix: deep copy included tasks
|
2022-10-07 11:11:14 +00:00 |
|
Pete Davison
|
bb79fa1dc3
|
feat: namespace aliases
|
2022-10-07 11:11:14 +00: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
|
e3b6c97c3b
|
fix: the merged task should be internal if the task OR the taskfile are internal
|
2022-08-16 17:07:05 +00:00 |
|
Pete Davison
|
3507fa40f1
|
feat: add internal to included files
|
2022-08-16 17:07:05 +00:00 |
|
Andrey Nering
|
9e1d4e7855
|
Add golangci-lint
https://golangci-lint.run/
|
2022-05-15 21:30:07 -03:00 |
|
Jay Anslow
|
74f5cf8f29
|
Add support for begin/end messages with grouped output
Fixes #647
This allows CI systems that support grouping (such as with [GitHub Actions's `::group::` command](https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions#grouping-log-lines) and [Azure Devops](https://docs.microsoft.com/en-us/azure/devops/pipelines/scripts/logging-commands?view=azure-devops&tabs=bash#formatting-commands)) to collapse all of the logs for a single task, to improve readability of logs
## Example
The following Taskfile
```
# Taskfile.yml
version: 3
output:
group:
begin: "::group::{{ .TASK }}"
end: "::endgroup::"
tasks:
default:
cmds:
- "echo 'Hello, World!'"
```
Results in the following output
```bash
$ task
task: [default] echo 'Hello, World!'
::group::default
Hello, World!
::endgroup::
```
See [this GitHub Actions job](https://github.com/janslow/task/runs/4811059609?check_suite_focus=true) for a full example
<img width="771" alt="image" src="https://user-images.githubusercontent.com/1253367/149429832-6cb0c1b5-0758-442e-9375-c4daa65771bc.png">
<img width="394" alt="image" src="https://user-images.githubusercontent.com/1253367/149429851-1d5d2ab5-9095-4795-9b57-f91750720d40.png">
|
2022-01-14 00:22:14 +00:00 |
|
Margus Kerma
|
b6016b244e
|
fix(#612): Add nil check for included cmd
|
2021-11-26 11:20:05 +02:00 |
|
Andrey Nering
|
9674d75ff6
|
Evaluate included taskfiles in order of declaration
Closes #393
|
2021-01-01 18:27:50 -03:00 |
|
Damian Szulc
|
47dd9b5a03
|
Move args and taskfile packages to root directory
|
2020-08-19 10:59:58 +02:00 |
|