1
0
mirror of https://github.com/go-task/task.git synced 2025-07-15 01:35:00 +02:00
Commit Graph

811 Commits

Author SHA1 Message Date
c6d9201680 Merge pull request #337 from adamwasila/subtask-alias
Allow overriding the task name in the logger output
2020-06-14 17:01:28 -03:00
4bc183a8a1 Add basic unit tests for label attribute 2020-06-14 15:12:48 +02:00
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
f4f6efa547 Skip cleanup if task doesn't have any sources listed
Ref #333
2020-05-31 15:48:23 -03:00
ee7f2a541f v3.0.0-preview4 v3.0.0-preview4 2020-05-20 22:32:30 -03:00
59a00eae98 Merge branch 'master' into v3 2020-05-20 22:26:45 -03:00
df8293bee6 v2.8.1 v2.8.1 2020-05-20 19:26:23 -03:00
935216f179 Upgrade mvdan.cc/sh to v3.1.1 2020-05-20 19:22:27 -03:00
f56bbd46fd Fix typo 2020-05-18 13:16:50 -03:00
9f0f18c5c4 v3: Allow interpolation on "includes"
The idea is to allow manual inclusion of a OS-dependant Taskfile, since it's
not automatically included anymore.
2020-05-17 16:03:03 -03:00
191c34c9c4 v3: Do not include Taskfile_{{OS}}.yml automatically 2020-05-17 15:42:27 -03:00
6a604b3002 v3: Taskvars is no more 2020-05-17 15:34:32 -03:00
5a435b533e v3: Disallow the "expansions" setting on Taskfiles in v3 2020-05-17 15:28:25 -03:00
4b027722b1 Merge pull request #311 from go-task/vars-refactor-for-v3
v3: Variables refactoring
2020-05-17 14:56:11 -03:00
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
4913b6a0f1 Merge branch 'v3' into vars-refactor-for-v3 2020-05-16 11:18:28 -03:00
aee0ab05f4 Merge branch 'master' into v3 2020-05-16 10:28:00 -03:00
b44432f24a Upgrade slim-sprig package version 2020-05-16 10:21:54 -03:00
86be13ff1f Merge pull request #330 from danquah/print-usage
Have the --help/-h flag print usage.
2020-05-14 21:15:00 -03:00
ee95df0e57 Merge pull request #329 from danquah/version-print-std-out
Switch to printing the version string to std out
2020-05-14 21:12:43 -03:00
442c29f020 Merge pull request #328 from danquah/fix-goreleaser-name-template
Fix name_template in Go Releaser
2020-05-14 21:11:22 -03:00
739037fc37 Have the --help/-h flag print usage.
pflag will output a "pflag: help requested" message after displaying the usage
if we don't explicitly  handle the flag.
2020-05-14 21:58:46 +02:00
f8252020aa Switch to printing the version string to std out 2020-05-14 21:40:49 +02:00
38b87439fe name_template is now file_name_template
See https://goreleaser.com/deprecations/#nfpmsname_template
2020-05-14 20:48:33 +02:00
116879f7ea Update docs to reflect change from Travis to GitHub 2020-05-03 14:58:02 -03:00
2eafb2f067 Update CHANGELOG 2020-05-01 15:50:32 -03:00
c36f0f6f7f Merge pull request #317 from hatappi/master
suppress context errors when use watch option
2020-05-01 15:38:16 -03:00
bfc033959b suppress context errors when use watch option 2020-04-29 11:56:02 +09:00
814f350b6d go mod vendor 2020-04-25 15:56:41 -03:00
05db8ce582 Merge pull request #315 from go-task/mvdan-sh-3.1.0
Upgrade mvdan.cc/sh to v3.1.0
2020-04-25 15:55:32 -03:00
3fd36a0c72 Upgrade mvdan.cc/sh to v3.1.0
Closes #270
2020-04-25 15:51:47 -03:00
cbb12b29bd v3: Fix bug where global vars were not being considered 2020-04-05 11:16:27 -03:00
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
a044c41c66 Upgrade github.com/go-yaml/yaml to v3 2020-03-28 11:27:49 -03:00
fb78e53a14 v3.0.0-preview3 v3.0.0-preview3 2020-03-28 11:01:28 -03:00
acfbbaa549 Merge branch 'master' into v3 2020-03-28 10:48:49 -03:00
d52d74c64c go mod vendor 2020-03-22 21:42:45 -03:00
d36f73de01 Merge pull request #303 from go-task/ci-updates
Remove Travis CI and upgrade Go version on GitHub Actions
2020-03-01 15:49:25 -03:00
628c4a7b5f Upgrade Go version on CI 2020-03-01 15:46:56 -03:00
ca07a663e1 Remove Travis CI 2020-03-01 15:45:51 -03:00
66d008391e Merge pull request #302 from go-task/upgrade-mvdan-sh-to-v3.0.2
Upgrade mvdan.cc/sh to v3.0.2
2020-03-01 15:38:03 -03:00
eef84bda26 Upgrade mvdan.cc/sh to v3.0.2 2020-03-01 15:35:23 -03:00
e0defe71aa Merge pull request #298 from thejray/master
Remove trailing colon from task listing
2020-03-01 15:26:37 -03:00
069257151e Remove trailing colon from task listing 2020-02-19 07:22:37 -05:00
3f80a3b39e Improve documentation for included Taskfiles
Follow-up of #292
2020-02-16 11:21:06 -03:00
b2a56161bb Make ./docs/Taskfile.yml run on ./docs 2020-02-16 11:20:53 -03:00
5e75639244 Merge pull request #292 from evg4b/included_tasks
Added option to make included Taskfile run commands on its own directory
2020-02-16 10:50:35 -03:00
cb2cd3e10f Updated CHANGELOG.md 2020-02-15 18:07:27 +03:00
0acb911d6a Fixed absolute path resolving for included tasksfile 2020-02-15 18:07:09 +03:00
17ad7060b3 Added version validation and updated tests 2020-02-15 17:24:06 +03:00