summaryrefslogtreecommitdiff
path: root/src/rebar_resource.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-05-08 20:06:43 -0500
committerTristan Sloughter <t@crashfast.com>2015-05-12 19:55:06 -0500
commit7905a9f19cdb0ca2ff70567613784084e3e0a2fd (patch)
treebe2b48881e6146baf101cda91c68ba34b051022d /src/rebar_resource.erl
parent192e85aafa366a014600b6989480fa0b612b0408 (diff)
store hex package downloads in shared cache dir
Diffstat (limited to 'src/rebar_resource.erl')
-rw-r--r--src/rebar_resource.erl19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/rebar_resource.erl b/src/rebar_resource.erl
index 7c58135..cdce7a8 100644
--- a/src/rebar_resource.erl
+++ b/src/rebar_resource.erl
@@ -14,23 +14,6 @@
-type location() :: string().
-type ref() :: any().
--ifdef(no_callback_support).
-
-%% In the case where R14 or lower is being used to compile the system
-%% we need to export a behaviour info
--export([behaviour_info/1]).
-
--spec behaviour_info(atom()) -> [{atom(), arity()}] | undefined.
-behaviour_info(callbacks) ->
- [{lock, 2},
- {download, 3},
- {needs_update,2},
- {make_vsn, 1}];
-behaviour_info(_) ->
- undefined.
-
--else.
-
-callback lock(file:filename_all(), tuple()) ->
rebar_resource:resource().
-callback download(file:filename_all(), tuple(), rebar_state:t()) ->
@@ -39,5 +22,3 @@ behaviour_info(_) ->
boolean().
-callback make_vsn(file:filename_all()) ->
{plain, string()} | {error, string()}.
-
--endif.