Dan Ballweg
2f18f7927d
test include variables
2022-02-24 13:17:20 -06:00
Dan Ballweg
292cf75836
add vars to included taskfiles
2022-02-23 16:53:46 -06:00
Andrey Nering
d8555e5a5d
v3.11.0
2022-02-19 19:40:29 -03:00
Andrey Nering
b323531dd5
Improvements and CHANGELOG for #651
2022-02-19 19:31:27 -03:00
Andrey Nering
cfb665310e
Merge branch 'group-begin-message' of https://github.com/janslow/task into janslow-group-begin-message
2022-02-19 18:42:34 -03:00
Andrey Nering
51c6ebcd4d
Add tests, documentation and changelog for #666
2022-02-19 18:24:43 -03:00
Andrey Nering
e94d1b6b9f
Merge branch 'task-498-taskfile-dist' of https://github.com/tylermmorton/task into tylermmorton-task-498-taskfile-dist
2022-02-19 18:01:00 -03:00
Andrey Nering
ca7b32105d
Merge pull request #674 from go-task/dependabot/go_modules/mvdan.cc/sh/v3-3.4.3
...
Bump mvdan.cc/sh/v3 from 3.4.2 to 3.4.3
2022-02-19 17:55:30 -03:00
dependabot[bot]
264db2737b
Bump mvdan.cc/sh/v3 from 3.4.2 to 3.4.3
...
Bumps [mvdan.cc/sh/v3](https://github.com/mvdan/sh ) from 3.4.2 to 3.4.3.
- [Release notes](https://github.com/mvdan/sh/releases )
- [Changelog](https://github.com/mvdan/sh/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mvdan/sh/compare/v3.4.2...v3.4.3 )
---
updated-dependencies:
- dependency-name: mvdan.cc/sh/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-19 20:51:22 +00:00
Andrey Nering
5f2c9a6e45
Merge pull request #671 from JessThrysoee/bashcompletion
...
bash-completion refactoring
2022-02-13 19:51:40 -03:00
Jess Thrysoee
19be1f1bf0
bash-completion refactoring
...
1. 'compgen -c' lists _all_ command names on the system, which is not
appropriate for this script, furthermore echo does not read from stdin
so the output is lost.
2. use _get_comp_words_by_ref and __ltrim_colon_completions to handle task
names with colons.
"...modifying COMP_WORDBREAKS in your completion script is not safe
(as it is a global variable and it has the side effect of affecting
the behavior of other completion scripts"
Ref.: https://stackoverflow.com/a/12495727/7044304
3. Add options completion
4. Use task --list-all
2022-02-13 23:44:04 +01:00
tylermmorton
248952bc8f
Add dist fallbacks to defaultTaskfiles
2022-01-29 11:53:36 -05:00
Andrey Nering
2373743eac
Merge pull request #652 from jcwillox/master
...
Add completions to nfpms packages
2022-01-17 10:18:22 -03:00
Andrey Nering
f119596be6
Docs: Small change to title
2022-01-17 09:38:32 -03:00
Andrey Nering
b7cb41b388
Merge pull request #657 from lechuckroh/intellij-plugin
...
Update 'community.md' to add IntelliJ plugin link
2022-01-17 09:37:06 -03:00
Lechuck Roh
a65ee26446
Update 'community.md' to add IntelliJ plugin link
2022-01-16 22:24:12 +09:00
Josh Willox
7ed3cea40b
Add completions to nfpms packages
2022-01-14 20:48:28 +11: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
Andrey Nering
086d13ca2f
Docs: Remove line reference from file link
2022-01-13 10:39:38 -03:00
Andrey Nering
2780e96179
Merge pull request #648 from sagikazarmark/docs-nix-install
...
docs: add nix as an installation method
2022-01-13 10:38:49 -03:00
Mark Sagi-Kazar
191678f9d6
docs: add nix as an installation method
2022-01-13 00:15:04 +01:00
Andrey Nering
79f595d8d1
v3.10.0
2022-01-04 18:19:48 -03:00
Andrey Nering
db2865fb17
Add CHANGELOG entry for #579
2022-01-04 18:10:24 -03:00
Andrey Nering
f945fa60d9
Merge branch 'bugfix/issue-481-dynamic-vars-broken' of https://github.com/masaushi/task into masaushi-bugfix/issue-481-dynamic-vars-broken
2022-01-04 17:39:14 -03:00
Andrey Nering
454988f657
Fix typo 🤦
2022-01-04 17:19:38 -03:00
Andrey Nering
7e0346d6eb
Add CHANGELOG, documentation and small improvements to #401
2022-01-04 17:16:21 -03:00
Andrey Nering
00a90d1fe6
Merge branch 'f/list-all' of https://github.com/therealkevinard/task into therealkevinard-f/list-all
2022-01-04 17:03:12 -03:00
Andrey Nering
d6c185580a
Add CHANGELOG, documentation and small improvements to #626
2022-01-04 16:56:13 -03:00
Jacob McCollum
fd9132c15d
remove extra file
2022-01-03 13:22:06 -05:00
Kevin Ard
42702e81b3
refactor: wrap PrintTasksHelp with arg-less signatures
...
provide exported methods for accessing PrintTasksHelp variants.
2022-01-03 12:12:18 -05:00
Jacob McCollum
09c9d55695
Changes from PR Review:
...
- Remove ^task syntax from `defer`
- Support task call syntax in defer
2022-01-02 16:38:06 -05:00
Jacob McCollum
69e9effc88
initial pass at deferred commands
2022-01-02 15:55:43 -05:00
Andrey Nering
1c782c599f
Remove deprecated "$" and "^" prefixes
...
`$` was a variable prefix that make it being evaluated as shell. It was
replaced with `sh:`.
`^` is a command prefix that make it run another task. It was replaced
with `task:`.
These were added long ago when we were experimenting with stuff and kept for
some time for backward compatibility reasons, but sometimes causes confusion
and I think the time to remove the code came.
Closes #644
Closes #645
Ref #642
Co-authored-by: Trite <60318513+Trite8Q1@users.noreply.github.com>
2022-01-02 15:26:42 -03:00
Andrey Nering
ed37071fd6
Merge pull request #621 from kerma/feat/support-yaml
...
Add support for yaml extension
2022-01-02 15:08:50 -03:00
Margus Kerma
d73cf106b1
Merge branch 'master' into feat/support-yaml
2022-01-02 15:30:23 +02:00
Margus Kerma
1d7982e80a
fix( #584 ): Add support to yaml extension
...
- init creates Taskfile.yaml
- add changelog entry
- add zsh completion support for Taskfile.yaml
2022-01-02 15:23:10 +02:00
Andrey Nering
d5d1984116
Pin released vetsion of mvdan/sh v3.4.2
2021-12-30 16:45:08 -03:00
Andrey Nering
9eda1629bb
Merge pull request #636 from nichady/replace-ioutil
...
replace usages of ioutil with io and os
2021-12-20 23:58:23 -03:00
nichady
9a5d49774e
replace usages of ioutil with io and os
2021-12-20 20:00:34 -06:00
Andrey Nering
b2efebce96
Merge pull request #634 from go-task/upgrade-github-actions
...
Upgrade GitHub actions
2021-12-19 22:14:23 -03:00
Andrey Nering
85232bd704
Upgrade GitHub actions
...
Closes #633
2021-12-19 22:06:51 -03:00
Andrey Nering
df4e3aea79
v3.9.2
2021-12-02 09:48:30 -03:00
Andrey Nering
290d45fd05
Upgrade mvdan.cc/sh
2021-12-02 09:45:34 -03:00
Andrey Nering
168e8c925c
CHANGELOG: Fix typo
2021-11-29 12:55:43 -03:00
Andrey Nering
d9859b18fe
v3.9.1
2021-11-28 16:19:30 -03:00
Andrey Nering
784847f35b
CHANGELOG: Add entry for #533 and #588
2021-11-28 16:16:12 -03:00
Andrey Nering
97287377d1
CHANGELOG: Add entries for #597 and #598
2021-11-28 16:16:12 -03:00
Andrey Nering
a15b66e003
Merge pull request #588 from jespino/issue-533
...
Adding task started and task finished in the verbose otput
2021-11-28 16:14:56 -03:00
Andrey Nering
a441b4b90d
Merge pull request #598 from sylv-io/fix/false_fail
...
task: Check context error
2021-11-28 16:10:32 -03:00
Andrey Nering
0dcc1390a6
GitHub: Remove automatic "bug" or "feature" lables in issues
2021-11-28 15:58:41 -03:00