Andrey Nering
0d84549b2a
Add "ToSlash" and "FromSlash" to template functions
...
Closes #22
2017-04-16 17:17:32 -03:00
Andrey Nering
c1f9f73184
Use functions defined on github.com/Masterminds/sprig
...
Closes #21
2017-04-16 16:54:48 -03:00
Andrey Nering
c105294f61
Do not redirect stdin while running variables commands
2017-04-13 13:20:48 -03:00
Andrey Nering
0b1a89d456
Merge branch 'errgroup-and-context'
2017-04-12 20:57:19 -03:00
Andrey Nering
c591ea4185
Use context together with errgroup
...
This will let other deps to be killed when one of the deps returns an
error.
Before this change, the process could keep running even after Task
exited.
2017-04-12 20:53:41 -03:00
Andrey Nering
2ec6b03022
Vendor golang.org/x/sync/errgroup
2017-04-12 20:41:19 -03:00
Andrey Nering
109f20f193
Using golang.org/x/sync/errgroup to exec deps
2017-04-12 20:39:52 -03:00
Andrey Nering
822f7f83ee
execext package: support context command
2017-04-12 20:32:56 -03:00
Andrey Nering
947b3de0c4
Merge branch 'watch'
2017-04-01 16:13:40 -03:00
Andrey Nering
18e668f4ac
Vendor github.com/fsnotify/fsnotify
2017-04-01 16:13:19 -03:00
Andrey Nering
24e7aa01c7
Update README with watch of tasks
2017-04-01 16:12:10 -03:00
Andrey Nering
72a6727e31
Watch task
2017-04-01 16:11:32 -03:00
Andrey Nering
36614dccf8
More sophisticated cyclic dependency detection
2017-03-25 16:06:49 -03:00
Andrey Nering
59306cda38
Possibility to call another task
2017-03-25 15:26:42 -03:00
Andrey Nering
0db3e9a05d
Fix "=" not being reconized in variables/environment variables
...
Fixes #19
2017-03-25 11:01:44 -03:00
Andrey Nering
c2773a7287
Fix delete of files before test run
2017-03-25 10:52:41 -03:00
Andrey Nering
e28b0bc646
Write tests for variables
2017-03-25 10:51:30 -03:00
Andrey Nering
edd338097e
Add Travis CI
2017-03-19 15:54:18 -03:00
Andrey Nering
16a11a60a5
Merge branch 'pull-10'
2017-03-19 15:19:27 -03:00
Andrey Nering
1cabfc636f
Add descs to Taskfile
2017-03-19 15:18:59 -03:00
Andrey Nering
2054a1bc34
Minor improvements for tasks description
2017-03-19 15:18:18 -03:00
Rene Zbinden
e4c1cc3e77
add help task
...
Signed-off-by: Andrey Nering <andrey.nering@gmail.com>
2017-03-19 15:00:25 -03:00
Andrey Nering
06633e2f99
Write first test for deps
2017-03-15 21:15:27 -03:00
Andrey Nering
81f0e93bdb
Update README
2017-03-15 20:55:53 -03:00
Andrey Nering
1296d39421
Merge branch 'concurrent-deps'
2017-03-15 20:53:40 -03:00
Andrey Nering
ce823ad510
Run deps concurrently
2017-03-15 20:19:29 -03:00
Andrey Nering
419a74b018
Fix build on Windows
2017-03-13 08:09:06 -03:00
Andrey Nering
608d65f2b7
README: few fixes
2017-03-12 18:04:44 -03:00
Andrey Nering
94c33668bd
Print command right before run
2017-03-12 18:02:33 -03:00
Andrey Nering
40b96ced43
Delete not used function
2017-03-12 17:20:15 -03:00
Andrey Nering
8c5e7e89cd
Little refactor on command creation
2017-03-12 17:18:59 -03:00
Sascha Andres
678ea86350
Merge pull request #16 from go-task/feature/default-task
...
Support for a default task
2017-03-10 08:43:05 +01:00
Sascha Andres
ff2a442f93
Added README info for default task
2017-03-10 08:42:38 +01:00
Sascha Andres
12babf4204
Support for a default branch
2017-03-09 17:18:46 +01:00
Andrey Nering
53234b91e0
Prevent running command more than once
2017-03-08 20:13:52 -03:00
Andrey Nering
588de5d0dd
Environment variable won't be commands.
...
This fixes execution on cmd on Windows because there are default
environmen variable beginning with $
2017-03-08 20:03:21 -03:00
Andrey Nering
b9d1af315d
Do not support multiline result command by now
2017-03-08 19:03:17 -03:00
Andrey Nering
0cc7fae704
Using receiver instead of passing t.Env as parameters
2017-03-08 18:39:47 -03:00
Andrey Nering
3e3d8d8181
Use pointer as receiver to prevent copy
2017-03-08 18:36:05 -03:00
Andrey Nering
e2ffb6a276
Merge branch 'pull-14-@vars'
2017-03-08 18:35:26 -03:00
Andrey Nering
c3f3eb5f51
Unify ifs
2017-03-08 18:34:44 -03:00
Andrey Nering
3078a3ee68
Change "@" for "$" as dynamic var identifier
2017-03-08 18:32:32 -03:00
Sascha Andres
d55eb98477
Updated README for dynamic variables
...
Solves #11
2017-03-08 18:21:12 -03:00
Sascha Andres
fa936a54c0
Replaced regex with easier code
2017-03-08 18:21:11 -03:00
Sascha Andres
478d1466d9
First implementation of dynamic variables
2017-03-08 18:21:11 -03:00
Andrey Nering
2f317aa32c
Vendor github.com/imdario/mergo
2017-03-08 18:17:07 -03:00
Sascha Andres
2e351e1f9b
Merge pull request #13 from go-task/feature/os-specific
...
Feature/os specific
2017-03-07 16:01:19 +01:00
Sascha Andres
ef75d5061d
Merge branch 'master'
...
Conflicts:
README.md
task.go
2017-03-07 12:35:45 +01:00
Sascha Andres
5b3c11eabd
Merge pull request #9 from go-task/feature/env
...
Allow specifying additional environment settings
2017-03-07 12:31:46 +01:00
Sascha Andres
78bf1aeeac
Updated README
...
Closes #4
2017-03-07 09:47:41 +01:00