summaryrefslogtreecommitdiff
path: root/src/rebar_resource.erl
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-05-14 16:12:40 -0500
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-05-14 16:12:40 -0500
commitda93ec9d0a80ddcea1baf9112851bd991d36f5f5 (patch)
treeed1f257d812e97d274cc12cfaa1702b600c6eb49 /src/rebar_resource.erl
parent192e85aafa366a014600b6989480fa0b612b0408 (diff)
parentf37cee14b240aaede19807cbc484286cffc8be8d (diff)
Merge pull request #414 from tsloughter/hex_pkg_improvements
Hex pkg improvements
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.