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
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
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
8b38ddfcd9
Merge pull request #563 from system-transparency/feature/interactive
...
Task: Add interactive parameter
2021-09-26 21:40:50 -03:00
Andrey Nering
e45ed85b55
Add CHANGELOG + Small nits for #552
2021-09-25 09:40:03 -03:00
Andrey Nering
52474f9103
Merge pull request #552 from justafish/justafish/519/optional-includes
...
Allow includes to be optional
2021-09-25 09:36:44 -03:00
Andrey Nering
6c73ab823b
Add CHANGELOG + gofmt for #557
2021-09-06 10:30:45 -03:00
Alexander Mancevice
8d695bc8d7
simplify logic to expand included paths
2021-09-05 10:57:49 -04:00
Alexander Mancevice
c892d055ed
Use internal execext.Expand to expand ~ in includes
2021-09-05 08:18:47 -04:00
Marcello Sylvester Bauer
2dc181c75e
Task: Add interactive parameter
...
Add the task parameter "interactive" to force interleaved output in order
to make interactive CLI apps work.
Feature request in #217
TODO:
* Update documentation
Signed-off-by: Marcello Sylvester Bauer <sylv@sylv.io>
2021-09-03 10:31:24 +02:00
Alexander Mancevice
0a6833e9d8
Allow included Taskfiles to use ~/* paths
2021-08-21 07:20:33 -04:00
Sally Young
8f80fc4e2c
Issue #519 : Allow includes to be optional
2021-08-11 17:28:44 +01:00
Ross Hammermeister
97c85e39c3
Only run task once for #53
2021-07-31 19:36:40 -03:00
Andrey Nering
945c72cf6c
Small optimization and bug fix: don't compute variables if not needed for dotenv:
...
Closes #517
2021-07-10 19:46:53 -03:00
Nicolas Fouché
08265ed1d7
Allow vars in dotenv paths, including environment variables
...
Closes #453
Closes #434
Ref #433
Co-authored-by: Andrey Nering <andrey@nering.com.br>
2021-06-05 16:00:19 -03:00
Andrey Nering
2d66a2f0f3
Improve YAML parse error reporting
...
Fixes #467
2021-04-17 17:12:39 -03:00
Andrey Nering
e6c4706b73
Add support for delegating CLI arguments with "--" and a special CLI_ARGS variable
...
Closes #327
2021-03-20 11:58:45 -03:00
Andrey Nering
4afc0e8ed0
Fixed some bugs and regressions regarding dynamic variables and directories
...
Closes #426
2021-01-09 13:51:06 -03:00
Andrey Nering
83d25bfa00
Refactor: Fix import order
...
It should be: stdlib > libs > app
2021-01-07 11:48:33 -03:00
Andrey Nering
9674d75ff6
Evaluate included taskfiles in order of declaration
...
Closes #393
2021-01-01 18:27:50 -03:00
Andrey Nering
60759a4e3b
Post-fixes and CHANGELOG for #385
2020-10-12 21:16:09 -03:00
Andrey Nering
582a66bb2f
Merge pull request #385 from chris-garrett/dev/378-missing-env
...
Resolves #378 - allow for missing env files as they may be bootstrapped.
2020-10-12 21:12:08 -03:00
Andrey Nering
d78f78bb5c
Fix panic for empty tasks
...
Closes #338
Closes #362
Co-authored-by: Bharath Kumar <shettybharath4@gmail.com>
2020-10-12 21:03:13 -03:00
Chris Garrett
c6138a0660
#378 - allow for missing env files as they may be bootstrapped.
2020-10-03 16:39:58 -06:00
Damian Szulc
47dd9b5a03
Move args and taskfile packages to root directory
2020-08-19 10:59:58 +02:00