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
Andrey Nering
01c86636e9
Add CHANGELOG and minor changes to #613
2021-11-28 15:54:49 -03:00
Andrey Nering
846c27d579
Merge pull request #613 from Peter554/fix-quoting-cli-args
...
Fix quoting of CLI_ARGS
2021-11-28 15:51:03 -03:00
Andrey Nering
db05059b42
CHANGELOG: Add entry for #614 and #612
2021-11-28 15:43:38 -03:00
Andrey Nering
b824328850
Merge pull request #614 from kerma/fix/panic-on-empty-included-cmd
...
Add nil check for included cmd
2021-11-28 15:41:38 -03:00
Andrey Nering
a8767a2b1a
CHANGELOG: Mention mvdan/sh upgrade
2021-11-28 15:38:47 -03:00
Andrey Nering
5e14e7fb70
Merge pull request #615 from go-task/dependabot/go_modules/mvdan.cc/sh/v3-3.4.1
...
Bump mvdan.cc/sh/v3 from 3.4.0 to 3.4.1
2021-11-27 17:32:22 -03:00
dependabot[bot]
fbaa7be52e
Bump mvdan.cc/sh/v3 from 3.4.0 to 3.4.1
...
Bumps [mvdan.cc/sh/v3](https://github.com/mvdan/sh ) from 3.4.0 to 3.4.1.
- [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.0...v3.4.1 )
---
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>
2021-11-27 11:03:48 +00:00
Margus Kerma
b6016b244e
fix( #612 ): Add nil check for included cmd
2021-11-26 11:20:05 +02:00
Peter Byfield
e339a64261
Fix quoting of CLI_ARGS
...
Consider a task:
test:
cmds:
- pytest {{.CLI_ARGS}}
Running `task test -- -m "not foo"` should be equivalent
to running `pytest -m "not foo"`. However, with the current
implementation the quoting of CLI_ARGS is lost and the task
executes `python -m not foo`, which results in an error.
2021-11-25 14:13:45 +01:00
Andrey Nering
17e18442ab
Merge pull request #600 from OmriSteiner/typofix
...
Fix typo in usage.md
2021-11-09 12:15:26 -03:00
Omri Steiner
e8aa3a17a6
Fix typo in usage.md
2021-11-09 16:18:42 +02:00
Marcello Sylvester Bauer
bdb97eab86
task: Check context error
...
Check context error after running dependencies, to prevent false
negative precondition errors due to "context canceled".
Signed-off-by: Marcello Sylvester Bauer <sylv@sylv.io>
2021-11-05 15:06:51 +01:00
Jesús Espino
690000254c
Apply suggestions from code review
...
Co-authored-by: Andrey Nering <andrey@nering.com.br>
2021-10-31 09:37:23 +01:00
Andrey Nering
6a0b778978
Add CHANGELOG for #592
2021-10-30 11:15:56 -03:00
Andrey Nering
549d141053
Merge pull request #592 from caarlos0/brew
...
fix: goreleaser brew completions
2021-10-30 11:07:13 -03:00
Carlos A Becker
c31ecdb8de
fix: goreleaser brew completions
2021-10-27 14:48:00 -03:00
Jesús Espino
8a09d044c7
Adding task started and task finished in the verbose otput
2021-10-16 21:12:26 +02:00
Andrey Nering
a3b5b89930
Fix typo in CHANGELOG
2021-10-02 18:51:52 -03:00
Andrey Nering
ad6f100f6a
v3.9.0
2021-10-02 18:47:30 -03:00
Andrey Nering
3cfe21af58
Add shellQuote
template function
2021-10-02 18:29:07 -03:00
Andrey Nering
b70a660975
Add CHANGELOG for #580
2021-10-02 18:07:54 -03:00
Andrey Nering
04c1d1389f
go mod tidy
2021-10-02 17:52:02 -03:00
Andrey Nering
f12156bf81
Merge pull request #580 from system-transparency/update/sh
...
upgrade mvdan.cc/sh/v3 v3.3.1 => v3.4.0
2021-10-02 17:50:37 -03:00
Marcello Sylvester Bauer
0177ac660b
upgrade mvdan.cc/sh/v3 v3.3.1 => v3.4.0
...
Signed-off-by: Marcello Sylvester Bauer <sylv@sylv.io>
2021-10-02 12:33:07 +02:00
Andrey Nering
361b9b4ce4
v3.8.0
2021-09-26 22:30:26 -03:00
Andrey Nering
78792bd11c
Add CHANGELOG + Small improvement for #563
2021-09-26 21:55:31 -03:00
Andrey Nering
8b38ddfcd9
Merge pull request #563 from system-transparency/feature/interactive
...
Task: Add interactive parameter
2021-09-26 21:40:50 -03:00
Andrey Nering
78ddf50d2d
Documentation: Remove reference to deprecated "expansions" keyword
...
Closes #575
2021-09-26 21:28:40 -03:00
Andrey Nering
41a71e1dee
Add CHANGELOG for #573
2021-09-25 09:48:49 -03:00
Andrey Nering
a5ed8ad58c
Merge pull request #573 from masaushi/bugfix/issue-534-seg-fault-on-empty-command
...
Fix segmentation fault on nil slice element for issue #534
2021-09-25 09:46:47 -03:00
Andrey Nering
e45ed85b55
Add CHANGELOG + Small nits for #552
2021-09-25 09:40:03 -03:00