Andrey Nering
08263c0597
Fix wrong error message beingg print when the file has a syntax error
...
Fixes #137
2018-09-22 17:29:18 -03:00
Andrey Nering
df951a0c7c
Fix suggestion to use task --init not being shown anymore
2018-08-19 16:23:32 -03:00
Andrey Nering
feaf70922d
Allow ignore_error at task level
2018-08-05 12:53:42 -03:00
Tobias Salzmann
90a5f17f58
Merge branch 'master' into master
2018-08-01 10:47:25 +02:00
Tobias Salzmann
108cb91d95
IgnoreError
...
* Document ignore_error
* ignore_error only for commands
2018-08-01 10:44:53 +02:00
Andrey Nering
cc6f7b6088
Manually implement merging of Taskfiles and remove dependency on github.com/imdario/mergo
...
I was carreful enough to check the behavior keeps the same
2018-07-22 17:54:44 -03:00
Andrey Nering
da1b0c9558
Error if Taskfile_{{GOOS}}.yml version doesn't match Taskfile.yml version
...
This change is not backward incompatible because merging was already not
working if versions 1 and 2 coexist in Taskfile.yml and Taskfile_{{GOOS}}.yml
2018-07-22 17:36:30 -03:00
Andrey Nering
9f294b4d10
Refactor and move logic of reading Taskfiles to its own package
...
Idea to making things easier to start implementing #98
2018-07-22 16:10:20 -03:00
Tobias Salzmann
05600601ff
add ignoreError option
2018-07-10 10:44:58 +02:00
Andrey Nering
a407b0a8eb
First step implementing "prefixed" output option
...
Ref #104
2018-04-22 15:41:53 -03:00
Andrey Nering
8b3c34c308
Add "output" options to the Taskfile
...
Also, fix handling of Taskfile by making the version an instance of
`semver.Constraints` instead of `semver.Version`. This makes the version
works as described on TASKFILE_VERSIONS.md document, i.e. version "2" will
include "2.x" features but version "2.0" not.
2018-04-15 11:11:07 -03:00
Andrey Nering
51998f706f
Allow customizable number of expansions
...
Updates #66
2018-03-04 15:50:03 -03:00
Andrey Nering
1a3df08aca
Allow global variables in the Taskfile
...
Closes #66
2018-03-04 15:39:14 -03:00
Andrey Nering
12c0d18932
Move setting of default version to "taskfile" package
2018-03-03 18:56:15 -03:00
Andrey Nering
2d4ca37226
Use semver for Taskfile versions
2018-03-03 18:54:42 -03:00
Andrey Nering
152fc0ad38
Move all structs related to Taskfile to its own package
2018-02-17 14:22:18 -02:00