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
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
Jesús Espino
8a09d044c7
Adding task started and task finished in the verbose otput
2021-10-16 21:12:26 +02:00
Andrey Nering
78792bd11c
Add CHANGELOG + Small improvement for #563
2021-09-26 21:55:31 -03: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
Andrey Nering
8aa983257d
Small adjustments and CHANGELOG for #359
2021-07-31 20:29:59 -03:00
Ross Hammermeister
d28649b13d
Refactoring startExecution
2021-07-31 19:36:40 -03:00
Ross Hammermeister
3e16ca37bc
Updating version checking
2021-07-31 19:36:40 -03:00
Ross Hammermeister
bbe1d8b52e
Adding proper version checking for taskfile when using run
2021-07-31 19:36:40 -03:00
Ross Hammermeister
97c85e39c3
Only run task once for #53
2021-07-31 19:36:40 -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
George Pollard
fe917affd2
Include task name in log output
2021-04-04 16:16:22 -03:00
Ross Hammermeister
c6ecf70377
Adding a --concurrency (-C) flag
2021-03-07 09:49:57 -03:00
Andrey Nering
bf6d0c0a74
Improve performance of --list
and --summary
flags
...
Closes #332
2021-01-12 12:03:04 -03:00
Andrey Nering
c11672fca3
Envs should be overridable
...
System-wide environment variable should have priority. That's how it
works for .env files, so this is consistent.
Closes #425
2021-01-12 11:32:49 -03:00
Andrey Nering
e086b654aa
Environment from .env file should be available as variables
...
Fixes #379
2021-01-12 11:11:40 -03: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
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
191c34c9c4
v3: Do not include Taskfile_{{OS}}.yml automatically
2020-05-17 15:42:27 -03:00
Andrey Nering
6a604b3002
v3: Taskvars is no more
2020-05-17 15:34:32 -03:00
Andrey Nering
5a435b533e
v3: Disallow the "expansions" setting on Taskfiles in v3
2020-05-17 15:28:25 -03:00
Andrey Nering
68ce8642b1
Create v3 compiler which respects declaration order of variables
...
Also, fix "<no value>" been printed when a non-existing variable is printed.
2020-05-16 15:46:07 -03:00
Andrey Nering
6ed30f1add
Refactor variables: Keep order of declaration
...
This shouldn't have any behavior changes for now. This is a code
refactor that should allow us to do further improvements on how
variables are handled, specially regarding respecting the declaration
order in Taskfiles, which should make it easier for the users.
Initial work on #218
2020-04-05 11:16:14 -03:00
Andrey Nering
acfbbaa549
Merge branch 'master' into v3
2020-03-28 10:48:49 -03:00
Evgeny Abramovich
17ad7060b3
Added version validation and updated tests
2020-02-15 17:24:06 +03:00
Paul Varache
7453e688fd
Compile tasks before printing help or summary ( Closes #276 )
2020-01-26 21:32:20 +00:00
Andrey Nering
15338ecb18
Merge branch 'master' into v3
2019-12-07 22:04:16 -03:00
Andrey Nering
4bdfe64afb
Add hability silent all tasks
...
By add `silent: true` at the root of the Taskfile.
2019-12-07 21:44:09 -03:00
Andrey Nering
62752ba7e1
Merge branch 'master' into v3
2019-11-24 21:02:33 -03:00
Ross Hammermeister
27bc1ca5d1
Add flag to allow tasks provided on the command line to be run in parallel
2019-11-13 13:50:04 -07:00
Andrey Nering
1a28e5e0d4
Few code improvements on #216
2019-09-14 17:54:41 -03:00
Andrey Nering
884cd0d636
Merge branch 'CypherpunkArmory-report-timestamp-to-status' into v3
2019-09-14 17:18:42 -03:00
Andrey Nering
78595fba0b
Make "checksum" the default method in v3
2019-09-08 22:51:56 -03:00
Andrey Nering
1a33f9168b
Merge branch 'report-timestamp-to-status' of https://github.com/CypherpunkArmory/task into CypherpunkArmory-report-timestamp-to-status
2019-09-01 21:44:23 -03:00
Stephen Prater
a1aec8178a
Export Time Struct to Template
2019-08-25 13:36:48 -07:00
jaedle
821c80b61e
Fix error message
...
Co-Authored-By: Andrey Nering <andrey.nering@gmail.com>
2019-08-19 20:53:35 +02:00
jaedle
0f385f9f4e
remove v1
2019-08-18 17:37:21 +02:00
Andrey Nering
d5a791b470
Merge branch 'master' into v3
2019-08-11 23:03:58 -03:00
Andrey Nering
d970e93507
Add --taskfile flag (alias -t) to allow running another Taskfile
...
Closes #221
2019-07-21 10:57:04 -03:00
Andrey Nering
623db0ed94
Only have colored output on v3
2019-07-07 14:18:02 -03:00
Andrey Nering
0e575e9c25
Add --color=false flag to disable colored output
2019-07-07 14:13:53 -03:00
Andrey Nering
dd9cdb0ec9
Fix build after merging master
2019-06-15 22:47:15 -03:00
Andrey Nering
7f082a821d
Merge branch 'v3' into colored-output
2019-06-15 22:42:15 -03:00
Andrey Nering
abe0352de9
Fixed some bugs regarding minor version checks on version:
...
1. I have forgot to update it on recent releases. Seems that most people just
use round versions since nobody complained.
2. It's too hard to understand how the github.com/Masterminds/semver package
works, so I just got rid of it and we're now using plain float checks.
2019-06-15 22:39:35 -03:00
Andrey Nering
0608782cfa
Merge pull request #205 from CypherpunkArmory/add-precondition-to-task
...
Add Preconditions to Tasks
2019-06-15 21:55:20 -03:00
Andrey Nering
fe2b8c8afa
Post-fixes to #211
2019-06-15 21:12:54 -03:00
Stephen Prater
d1463b3e24
Fix typos per review
2019-06-11 11:46:22 -07:00