Andrey Nering
7a7f66dfdc
refactor: join task and vars parameters in a single Call struct
2017-07-08 14:34:17 -03:00
Andrey Nering
a1140aa62f
Merge branch 'cyclic-dep'
2017-07-08 13:36:45 -03:00
Andrey Nering
2dd3564da1
changed cyclic dep detection
...
since interpolation can be used, detection should be a execution time,
and not before
now, to prevent infinite execution, there's a miximum of 100 calls per
task
closes #37
2017-07-08 13:33:55 -03:00
Andrey Nering
fb4b0a187e
Merge branch 'issue-37-cyclic-dep'
2017-07-08 10:26:18 -03:00
Andrey Nering
ac48ee066e
fix panic for invalid task in cyclic dep detection
...
resolves partly #37
2017-07-08 10:25:15 -03:00
Andrey Nering
06031efc09
cyclic: refactor to return error instead
2017-07-08 10:13:56 -03:00
Andrey Nering
9bea80b862
Merge pull request #41 from zbindenren/master
...
better error output for dynamic variables in Taskvars.yml
2017-07-07 07:01:21 -03:00
Rene Zbinden
92ecb1c7ec
better error output for dynamic variables in Taskvars.yml
2017-07-07 08:33:56 +02:00
Andrey Nering
645f77b849
Merge pull request #39 from smyrman/issue-38
...
Allow template evaluation when calling a task with vars
2017-07-06 21:30:47 -03:00
Sindre Røkenes Myren
2f9381065d
Allow template evaluation in parameters
...
When passing variables to a sub-task, allow template evaluation
within the passed-on variables.
2017-07-07 00:47:56 +02:00
Sindre Røkenes Myren
774ef61c2f
Update usage text slightly
2017-07-06 18:40:01 +02:00
Andrey Nering
dd2c66d2e1
v1.4.0
2017-07-05 21:32:30 -03:00
Andrey Nering
0deb2d78fb
improve README documentation
2017-07-05 21:31:41 -03:00
Andrey Nering
fdd7e7f2a8
add own Taskfile.yml file
2017-07-05 21:06:12 -03:00
Andrey Nering
ad1a440576
cache dymanic variables
2017-07-05 21:03:59 -03:00
Andrey Nering
222b5cb587
add verbose mode (-v flag)
2017-07-05 20:56:31 -03:00
Andrey Nering
a1d1f73fe7
update dependencies
2017-07-05 20:46:05 -03:00
Andrey Nering
e7f9ace559
rename goreleaser.yml to .goreleaser.yml
2017-07-05 20:39:19 -03:00
Andrey Nering
cb72c404f5
Merge pull request #32 from go-task/parameters
...
Add task parameters
2017-07-05 20:34:42 -03:00
Andrey Nering
01b9bf5289
update README documentation about calling another task
2017-07-05 20:30:58 -03:00
Andrey Nering
a52a66ec1c
test usage of param with $ prefix
2017-07-05 20:12:40 -03:00
Andrey Nering
313d7089da
fix lint
2017-07-05 20:10:45 -03:00
Andrey Nering
06d80e92eb
rename Cmd.Params to Cmd.Vars
2017-07-05 20:07:27 -03:00
Andrey Nering
e1fc3aa4fb
remove support for TOML and JSON
...
ref #34
2017-07-05 19:56:52 -03:00
Andrey Nering
b8fe8d465e
refactor: onyl read Taskvars file once
2017-07-03 21:16:10 -03:00
Andrey Nering
196d3cb13d
add custom Cmd and Dep types
2017-07-03 21:04:38 -03:00
Andrey Nering
a3bfa13670
Merge pull request #35 from smyrman/print-on-set
...
Print on set
2017-07-03 19:53:03 -03:00
Sindre Røkenes Myren
2ace0defd0
Print command, also when "set:" is specified
...
Always prints the command, even when the
set-keyword is used within the task.
2017-07-03 15:05:19 +02:00
Sindre Røkenes Myren
023a902f61
Improve task command help text
2017-07-03 15:05:19 +02:00
Andrey Nering
789a4c03df
Merge branch 'stdout-redir'
2017-07-01 15:33:44 -03:00
Andrey Nering
ecfd8e8a62
change all tests to call functions instead of binary directly
...
I had to temporarely hack github.com/mvdan/sh to fix dir handling
2017-07-01 15:32:13 -03:00
Andrey Nering
9ba44f3e6e
allow custom Stdin, Stdout and Stderr while running as a lib
2017-07-01 15:05:51 -03:00
Andrey Nering
03fd5c84ec
improvements on README
2017-06-28 21:20:52 -03:00
Andrey Nering
81e0f170ef
accept setting dir of execution and improve tests
...
One test is not yet migrated. First we should have specific
Stdin, Stdout and Stderr for executor.
2017-06-24 20:09:05 -03:00
Andrey Nering
7e06ba1728
update deps
2017-06-24 16:00:10 -03:00
Andrey Nering
f8a5825083
readme: improve releases paragraph
2017-06-19 20:55:21 -03:00
Andrey Nering
a14f7f215c
setup fpm to release .deb and .rpm packages
...
closes #15
2017-06-19 20:48:39 -03:00
Andrey Nering
8393e8c52f
have a consistent release name format
...
closes #30
2017-06-19 20:31:03 -03:00
Andrey Nering
81d221667b
update deps
2017-06-16 14:59:12 -03:00
Andrey Nering
4f928e7570
v1.3.1
2017-06-14 15:33:30 -03:00
Andrey Nering
08622ba8cb
readme: update badge link
2017-06-14 15:32:29 -03:00
Andrey Nering
685b9ae293
improvements on release process
2017-06-14 15:28:35 -03:00
Andrey Nering
e97fd65cd3
update deps and move to golang/dep
...
Closes #28
2017-06-14 14:03:33 -03:00
Andrey Nering
ba494702ed
Taskfile: add update-deps task
2017-06-14 14:00:07 -03:00
Andrey Nering
ad3f439cb5
readme: add one more alternative
2017-06-11 19:52:41 -03:00
Andrey Nering
067d6e6a02
Update README
2017-06-04 17:05:36 -03:00
Andrey Nering
540e458b16
refactor isUpToDate()
2017-06-04 16:45:34 -03:00
Andrey Nering
b530cba0d5
Abstract Tasks type
2017-06-04 16:41:38 -03:00
Andrey Nering
09e6d5269d
Update dependencies
2017-06-04 16:06:04 -03:00
Andrey Nering
f98bf6c4b1
refactor: Create executor struct to get rid of global variables
...
Maybe eventually help on #17
2017-06-04 16:02:04 -03:00