summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-11-03 17:49:01 -0600
committerTristan Sloughter <t@crashfast.com>2014-11-03 17:49:01 -0600
commited017289edd48410fb1a02f0058df4be02abe6bb (patch)
treef6997ac5d62912bb23d47e885b7fc121f08bd0ca
parent08067639ad17ad00f0aa2c6b8bf30b588c04294d (diff)
switch ct provider to use external provider behavior
-rwxr-xr-xbootstrap/bootstrap2
-rw-r--r--src/rebar.app.src1
-rw-r--r--src/rebar_prv_common_test.erl6
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").