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

79 Commits

Author SHA1 Message Date
Sascha Andres
e6bb0cfc6d Changed to be quiet when a variable is set 2017-03-05 10:07:08 +01:00
Sascha Andres
a9181255b8 Merge branch 'master' into master 2017-03-03 09:01:59 +01:00
Andrey Nering
576b18246a Prefix all output messages from task with "task: "
This makes it easier to know if a message comes from task or from a command
stdout or stderr
2017-03-02 20:56:40 -03:00
Andrey Nering
a9b8e31228 Move error types to its own file 2017-03-02 20:52:03 -03:00
Andrey Nering
b8116015c7 Minor improvements for #5 2017-03-02 20:45:52 -03:00
Andrey Nering
f7d119f544 Merge pull request #5 from sascha-andres/master
Simple cyclic dependency detection
2017-03-02 20:39:20 -03:00
Sascha Andres
9abe71e967 Moved handleVariables() into command loop 2017-03-02 20:34:09 +01:00
Sascha Andres
eb783d04b8 Allow setting a variable 2017-03-02 20:19:25 +01:00
Andrey Nering
c655f23755 Running deps before verifying if the current task is up-to-date 2017-03-02 08:56:13 -03:00
Sascha Andres
b9820c5c7d Handling errors on variable handling
Relates to #2
2017-03-02 11:30:59 +01:00
Sascha Andres
240589978d Variable handling
Relates to #2
2017-03-02 10:46:20 +01:00
Sascha Andres
ea2e86e398 Simple cyclic dependency detection 2017-03-02 09:38:23 +01:00
Andrey Nering
f899df2e82 Use github.com/spf13/pflag instead of stdlib flag 2017-03-01 20:43:27 -03:00
Andrey Nering
131499b66d Add -f flag to force execution even when task is up-to-date 2017-03-01 20:21:36 -03:00
Sascha Andres
1576943702 Changed minor code style 2017-03-01 14:33:10 +01:00
Sascha Andres
a493591541 Added support for chdir option in task 2017-03-01 13:35:00 +01:00
Travis
61b1aa8559 added yml/json/toml support, --help flag, and example directory
Signed-off-by: Andrey Nering <andrey.nering@gmail.com>
2017-02-28 18:33:53 -03:00
Andrey Nering
a15cf26842 Make golint happy 2017-02-28 09:50:40 -03:00
Andrey Nering
b8b52b94f9 Change patterns to slice to support multiple 2017-02-27 17:03:25 -03:00
Andrey Nering
0e1aaabf11 DO nor re-run up-to-date tasks, based on ModTime and given patterns 2017-02-27 16:44:08 -03:00
Andrey Nering
7cab3997c1 Use relative path 2017-02-27 10:57:09 -03:00
Andrey Nering
5b1d106724 Support run multiple commands 2017-02-27 10:13:06 -03:00
Andrey Nering
49d4901c76 Support Windows
If "sh" is available (Git bash) it is used. Otherwise "cmd" is used.
2017-02-27 10:07:54 -03:00
Andrey Nering
a441fea849 Move main package to cmd/task 2017-02-27 09:48:50 -03:00
Andrey Nering
6104b42368 Better error message on task run error 2017-02-26 21:23:38 -03:00
Andrey Nering
b2621a8bc3 Support task dependencies 2017-02-26 21:18:53 -03:00
Andrey Nering
53f8766b80 Redirect stderr 2017-02-26 20:53:57 -03:00
Andrey Nering
389d7f7aed First working version 2017-02-26 20:43:50 -03:00
Andrey Nering
39e60d6278 Initial commit 2017-02-26 20:14:36 -03:00