Andrey Nering
8efc38ad82
Use colors for some output messages
2019-05-26 18:36:39 -03:00
Andrey Nering
3cbc89769d
Re-write import paths to v2
2018-11-04 21:23:35 -02:00
Andrey Nering
b65a0a3a8d
Fix signal handling when --watch flag is given
...
Closes #132
2018-09-16 21:59:00 -03:00
Andrey Nering
87a200e42c
Extract some functionality to its own packages
...
Like variable and template handling, and logging
2018-02-17 16:12:41 -02:00
Andrey Nering
152fc0ad38
Move all structs related to Taskfile to its own package
2018-02-17 14:22:18 -02:00
Andrey Nering
7977e6fb16
watch: also walk on tasks called on on "cmds"
2017-09-30 15:19:58 -03:00
Andrey Nering
abb19dfbf8
print logs to stderr instead of stdout
...
also, don't print up-to-date status when the --silent flag was given
closes #68
2017-09-30 14:56:35 -03:00
Andrey Nering
f3097845b4
allow assigning variables to tasks at run time via CLI
...
using a similar syntax than setting env variables to command in bash,
but used right after the task:
```bash
task print MESSAGE=Hello!
```
closes #33
2017-09-07 13:57:06 -03:00
Andrey Nering
26761e5445
watch: isContextError is as a var func
2017-08-05 14:04:34 -03:00
Andrey Nering
e78e4e6a2e
watch: ignore usually big dirs
...
Two items by now:
- ".git"
- "node_modules"
2017-08-05 13:35:10 -03:00
Andrey Nering
c210e34ce3
watch: switch to watcher as waych lib and few fixes
...
watcher whould be more consistent across differente OSes
2017-08-05 11:50:39 -03:00
Jack Mordaunt
ddd063f29e
Cancel and restart long running process on file change by using context.WithCancel(..)
...
Closes #59
2017-08-04 12:48:15 -03:00
Andrey Nering
7a7f66dfdc
refactor: join task and vars parameters in a single Call struct
2017-07-08 14:34:17 -03:00
Andrey Nering
196d3cb13d
add custom Cmd and Dep types
2017-07-03 21:04:38 -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
f98bf6c4b1
refactor: Create executor struct to get rid of global variables
...
Maybe eventually help on #17
2017-06-04 16:02:04 -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
72a6727e31
Watch task
2017-04-01 16:11:32 -03:00