diff options
author | Tristan Sloughter <t@crashfast.com> | 2015-02-12 07:21:16 -0600 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2015-02-17 10:16:55 -0600 |
commit | 410e2bcdecbf10037e6430f64707ef244a738e45 (patch) | |
tree | 70945116b1f16e2595a7a10edbb2ac8cf803a0bc /src/rebar_resource.erl | |
parent | b654272063d3596a54407f0a1b093db09d846a52 (diff) |
replace package management with hex.pm
Diffstat (limited to 'src/rebar_resource.erl')
-rw-r--r-- | src/rebar_resource.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_resource.erl b/src/rebar_resource.erl index 2bc28e2..7c58135 100644 --- a/src/rebar_resource.erl +++ b/src/rebar_resource.erl @@ -23,7 +23,7 @@ -spec behaviour_info(atom()) -> [{atom(), arity()}] | undefined. behaviour_info(callbacks) -> [{lock, 2}, - {download, 2}, + {download, 3}, {needs_update,2}, {make_vsn, 1}]; behaviour_info(_) -> @@ -33,7 +33,7 @@ behaviour_info(_) -> -callback lock(file:filename_all(), tuple()) -> rebar_resource:resource(). --callback download(file:filename_all(), tuple()) -> +-callback download(file:filename_all(), tuple(), rebar_state:t()) -> {tarball, file:filename_all()} | {ok, any()} | {error, any()}. -callback needs_update(file:filename_all(), tuple()) -> boolean(). |