2d4ca37226
Use semver for Taskfile versions
2018-03-03 18:54:42 -03:00
afe6744e97
Merge pull request #93 from go-task/v2_refactor
...
Re-organization and refactoring targeting v2
2018-02-18 10:14:00 -03:00
19d4b8b7f7
Add warning about Taskfile version 2 until v2.0.0 release
2018-02-18 10:04:17 -03:00
3556942516
Improve nested variables support
...
Closes #76 #89 #77 #83
2018-02-18 09:50:39 -03:00
87a200e42c
Extract some functionality to its own packages
...
Like variable and template handling, and logging
2018-02-17 16:12:41 -02:00
152fc0ad38
Move all structs related to Taskfile to its own package
2018-02-17 14:22:18 -02:00
3212ae4713
Update dependencies
2018-02-11 22:02:22 -02:00
040cef1479
Fix usage of "dep"
...
Now, "dep prune" should not be run, and instead pruning options should be set on Gopkg.toml
2018-02-11 22:00:40 -02:00
f5f70d7a75
README: Document Homebrew as an installation method
2018-01-27 14:44:20 -02:00
42509cf2f5
Update dependencies
...
Fixes #86
2018-01-21 09:39:15 -02:00
6f74c2d823
Added "passing variables to dependencies" ( #85 )
2018-01-11 10:10:12 -02:00
e23a6dc9f1
Update dependencies
2018-01-03 15:12:40 -02:00
134c6b79c4
Add Taskfile struct and start implementing new format
...
Updates #54 , #66 and #77
2017-12-29 18:46:15 -02:00
00ff1447ee
Update README.md
...
Includes removing unmaintained alternatives
2017-12-26 21:53:57 -02:00
78f6cb08d8
Add --status flag to check is a task is up-to-date
...
Closes #81
2017-12-26 21:43:52 -02:00
dfd890c8a6
Revert "simplify getVariables() and improve nested variables support"
...
This reverts commit 9619c7f54d
.
v1.4.4
2017-11-19 18:46:46 -02:00
7457b3668b
Revert "Revert "list: print message with there's no task with description""
...
This reverts commit e065dcb816
.
Reintroducing this. Reverted unintentionally.
2017-11-19 18:45:41 -02:00
71e7cd5808
listening for SIGINT and SIGTERM
...
closes #75
2017-11-19 18:33:57 -02:00
57e42af238
update deps
2017-11-19 18:26:37 -02:00
e065dcb816
Revert "list: print message with there's no task with description"
...
This reverts commit 2508bed363
.
I still want to do this, but since it break some existing Taskfiles,
let's give a little more thought on this first.
2017-11-19 18:12:16 -02:00
9619c7f54d
simplify getVariables() and improve nested variables support
...
/cc @smyrman
2017-11-17 00:54:26 -02:00
2508bed363
list: print message with there's no task with description
2017-11-16 23:35:53 -02:00
c469632ee0
update deps
2017-11-02 10:41:46 -02:00
44a52359dc
checksum: save them in a subdir .task/checksum
...
future-proof since the .task directory can be used to save other state
in the future
2017-11-02 10:37:02 -02:00
2022551b26
checksum: also sum the name of the files, so it changes after renaming
2017-11-02 10:31:34 -02:00
baac067a1a
expand home dir ("~" symbol) on paths
...
fixes #74
2017-11-02 10:25:50 -02:00
f4216dd67f
list tasks: ensure at least one space after colon
2017-11-02 09:45:00 -02:00
60186bdcd5
readme: document Snap as an installation method
2017-10-30 21:12:20 -02:00
2c2eb1684b
readme: fix markdown
2017-10-15 18:03:04 -02:00
33b167215d
move some packages to the "internal" directory
...
- this makes it impossible to import these packages outside Task
- as a side effect, it makes the root directory cleaner
2017-10-15 17:58:21 -02:00
c53db134c6
move examples to its own repo
2017-10-15 17:55:26 -02:00
0513a21e25
update dependencies
...
also make sure the module that enables /dev/null path of the sh
interpreter is enabled
2017-10-15 17:41:15 -02:00
2fc32414f5
project stuff
...
- move some files to .github/ folder
- add an issue template
- add two more alternatives
2017-10-01 15:46:47 -03:00
309bc4ee4c
checksum: add tests for filename
2017-10-01 15:06:12 -03:00
7977e6fb16
watch: also walk on tasks called on on "cmds"
2017-09-30 15:19:58 -03:00
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
14676dc3f8
checksum: normalize filename
2017-09-30 14:40:11 -03:00
c16f8a4d46
checksum: skip directories
2017-09-19 14:03:24 -03:00
48bf09da21
remove deprecated set
keyword
2017-09-17 11:24:30 -03:00
c295a1998a
add checksum based status check, alternative to timestamp based
2017-09-17 11:06:47 -03:00
95f7b9443f
v1.4.3
v1.4.3
2017-09-07 14:40:54 -03:00
0160f5dd30
update deps
...
fixes #67 fixed upstream on mvdan/sh#159
2017-09-07 14:02:52 -03:00
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
5e72de4ba2
Revert "execext: use sync.Pool to instantiate parser and runner"
...
This reverts commit 451b965fb0
.
2017-09-07 10:40:21 -03:00
7a64530e83
Added suport for multiline variables from sh
...
Instead of giving an error on multiline results from sh, the results are
now stored as is, except that the last newline is stripped away to make
the output of most commands easy to use in shell commands.
Two helper functions have been added to help deal with multi-line
results. In addition, previous PascalCase template function names have
been renamed to camelCase for consistency with the sprig lib.
2017-09-04 10:14:09 +02:00
36f3be9979
travis: test Go 1.8 and 1.9
2017-09-02 11:42:33 -03:00
451b965fb0
execext: use sync.Pool to instantiate parser and runner
...
A benchmark was added. The performance improvement is considerable:
BenchmarkNoPool-4 30000 43405 ns/op
BenchmarkPool-4 20000 71219 ns/op
2017-09-02 11:32:24 -03:00
2b2852aad7
update deps and moving from github.com/mvdan/sh to mvdan.cc/sh
2017-09-02 11:19:00 -03:00
72bfd94329
Fixes env: remove square braces and evaluate shell ( #62 )
...
Fixes bug #61 , and makes `env` work more similar to `vars` by allowing
dynamic shell values to be evaluated as part of `CompiledTask`.
2017-08-16 08:04:58 -03:00
300376b0b1
update README
2017-08-05 14:52:32 -03:00