From ed017289edd48410fb1a02f0058df4be02abe6bb Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Mon, 3 Nov 2014 17:49:01 -0600 Subject: switch ct provider to use external provider behavior --- bootstrap/bootstrap | 2 +- src/rebar.app.src | 1 + src/rebar_prv_common_test.erl | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index 83e2b14..e34f033 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -46,7 +46,7 @@ main(Args) -> false -> undefined end, - os:cmd("./bootstrap/rebar get-deps compile -r"), + os:cmd("./bootstrap/rebar get-deps compile"), %% Compile all src/*.erl to ebin %% To not accidentally try to compile files like Mac OS X resource forks, diff --git a/src/rebar.app.src b/src/rebar.app.src index c41ad92..894ca7b 100644 --- a/src/rebar.app.src +++ b/src/rebar.app.src @@ -14,6 +14,7 @@ syntax_tools, tools, erlware_commons, + providers, relx, inets]}, {env, [ diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index 37d1920..c47ac93 100644 --- a/src/rebar_prv_common_test.erl +++ b/src/rebar_prv_common_test.erl @@ -3,11 +3,11 @@ -module(rebar_prv_common_test). --behaviour(rebar_provider). +-behaviour(provider). -export([init/1, - format_error/2, - do/1]). + do/1, + format_error/2]). -include("rebar.hrl"). -- cgit v1.1