1
0
mirror of https://github.com/go-task/task.git synced 2024-12-14 10:52:43 +02:00
Commit Graph

140 Commits

Author SHA1 Message Date
Andrey Nering
ede2ffab60 Merge pull request #25 from go-task/native-go-sh
Migrate from os/exec.Cmd to a native Go sh interpreter
2017-04-24 10:19:01 -03:00
Andrey Nering
70fa93d0ff Update README documentation after changes 2017-04-24 09:56:14 -03:00
Andrey Nering
25134279f4 Vendor github.com/mvdan/sh 2017-04-24 09:47:10 -03:00
Andrey Nering
6bc27baa96 Migrate from os/exec.Cmd to a native Go sh interpreter
github.com/mvdan/sh

Closes #23
2017-04-24 09:45:57 -03:00
Andrey Nering
e327dab695 Merge pull request #24 from caarlos0/patch-1
Update goreleaser.yml
2017-04-22 09:21:23 -03:00
Carlos Alexandro Becker
35f89afdf5 Update goreleaser.yml 2017-04-21 20:23:24 -03:00
Andrey Nering
22c314f2cc Merge branch 'sprig' 2017-04-16 17:32:50 -03:00
Andrey Nering
011f96bd6a README: Document recent changes 2017-04-16 17:31:14 -03:00
Andrey Nering
add59989c5 Vendor github.com/Masterminds/sprig 2017-04-16 17:21:00 -03:00
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