From ea82d0561d6366851ebcfc67488fcb7aca44179e Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 7 Mar 2015 08:04:44 -0600 Subject: update all examples in providers to use rebar3 --- src/rebar_prv_clean.erl | 2 +- src/rebar_prv_common_test.erl | 4 ++-- src/rebar_prv_compile.erl | 2 +- src/rebar_prv_cover.erl | 4 ++-- src/rebar_prv_deps.erl | 2 +- src/rebar_prv_dialyzer.erl | 2 +- src/rebar_prv_edoc.erl | 2 +- src/rebar_prv_escriptize.erl | 2 +- src/rebar_prv_eunit.erl | 2 +- src/rebar_prv_new.erl | 2 +- src/rebar_prv_packages.erl | 2 +- src/rebar_prv_release.erl | 2 +- src/rebar_prv_shell.erl | 2 +- src/rebar_prv_tar.erl | 2 +- src/rebar_prv_update.erl | 2 +- src/rebar_prv_version.erl | 2 +- 16 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/rebar_prv_clean.erl b/src/rebar_prv_clean.erl index d670e4d..8fbc516 100644 --- a/src/rebar_prv_clean.erl +++ b/src/rebar_prv_clean.erl @@ -24,7 +24,7 @@ init(State) -> {module, ?MODULE}, {bare, false}, {deps, ?DEPS}, - {example, "rebar clean"}, + {example, "rebar3 clean"}, {short_desc, "Remove compiled beam files from apps."}, {desc, ""}, {opts, [{all, $a, "all", undefined, "Clean all apps include deps"}]}])), diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index fe2a8f6..bd799fa 100644 --- a/src/rebar_prv_common_test.erl +++ b/src/rebar_prv_common_test.erl @@ -24,7 +24,7 @@ init(State) -> {module, ?MODULE}, {deps, ?DEPS}, {bare, false}, - {example, "rebar ct"}, + {example, "rebar3 ct"}, {short_desc, "Run Common Tests."}, {desc, ""}, {opts, ct_opts(State)}, @@ -311,7 +311,7 @@ test_state(State) -> TestOpts = case rebar_state:get(State, ct_compile_opts, []) of [] -> []; Opts -> [{erl_opts, Opts}] - end, + end, [first_files(State)|TestOpts]. first_files(State) -> diff --git a/src/rebar_prv_compile.erl b/src/rebar_prv_compile.erl index bce4aab..7c6802d 100644 --- a/src/rebar_prv_compile.erl +++ b/src/rebar_prv_compile.erl @@ -28,7 +28,7 @@ init(State) -> {module, ?MODULE}, {bare, false}, {deps, ?DEPS}, - {example, "rebar compile"}, + {example, "rebar3 compile"}, {short_desc, "Compile apps .app.src and .erl files."}, {desc, ""}, {opts, [ diff --git a/src/rebar_prv_cover.erl b/src/rebar_prv_cover.erl index 09d3861..d6e18dc 100644 --- a/src/rebar_prv_cover.erl +++ b/src/rebar_prv_cover.erl @@ -26,7 +26,7 @@ init(State) -> {module, ?MODULE}, {bare, false}, {deps, ?DEPS}, - {example, "rebar cover"}, + {example, "rebar3 cover"}, {short_desc, "Perform coverage analysis."}, {desc, ""}, {opts, cover_opts(State)}])), @@ -340,4 +340,4 @@ cover_opts(_State) -> {verbose, $v, "verbose", boolean, help(verbose)}]. help(reset) -> "Reset all coverdata."; -help(verbose) -> "Print coverage analysis.". \ No newline at end of file +help(verbose) -> "Print coverage analysis.". diff --git a/src/rebar_prv_deps.erl b/src/rebar_prv_deps.erl index bb8dc65..cfa2d3f 100644 --- a/src/rebar_prv_deps.erl +++ b/src/rebar_prv_deps.erl @@ -17,7 +17,7 @@ init(State) -> {module, ?MODULE}, {bare, true}, {deps, ?DEPS}, - {example, "rebar deps"}, + {example, "rebar3 deps"}, {short_desc, "List dependencies"}, {desc, info("List dependencies")}, {opts, []}])), diff --git a/src/rebar_prv_dialyzer.erl b/src/rebar_prv_dialyzer.erl index e7275c7..fe9a141 100644 --- a/src/rebar_prv_dialyzer.erl +++ b/src/rebar_prv_dialyzer.erl @@ -26,7 +26,7 @@ init(State) -> {module, ?MODULE}, {bare, false}, {deps, ?DEPS}, - {example, "rebar dialyzer"}, + {example, "rebar3 dialyzer"}, {short_desc, short_desc()}, {desc, desc()}, {opts, Opts}])), diff --git a/src/rebar_prv_edoc.erl b/src/rebar_prv_edoc.erl index 8397e20..eb57dcd 100644 --- a/src/rebar_prv_edoc.erl +++ b/src/rebar_prv_edoc.erl @@ -21,7 +21,7 @@ init(State) -> {module, ?MODULE}, {bare, false}, {deps, ?DEPS}, - {example, "rebar edoc"}, + {example, "rebar3 edoc"}, {short_desc, "Generate documentation using edoc."}, {desc, ""}, {opts, []}])), diff --git a/src/rebar_prv_escriptize.erl b/src/rebar_prv_escriptize.erl index 0254d24..ad58281 100644 --- a/src/rebar_prv_escriptize.erl +++ b/src/rebar_prv_escriptize.erl @@ -49,7 +49,7 @@ init(State) -> {module, ?MODULE}, {bare, false}, {deps, ?DEPS}, - {example, "rebar escriptize"}, + {example, "rebar3 escriptize"}, {opts, []}, {short_desc, "Generate escript archive"}, {desc, desc()} diff --git a/src/rebar_prv_eunit.erl b/src/rebar_prv_eunit.erl index e554f98..7ea5ced 100644 --- a/src/rebar_prv_eunit.erl +++ b/src/rebar_prv_eunit.erl @@ -24,7 +24,7 @@ init(State) -> {module, ?MODULE}, {deps, ?DEPS}, {bare, false}, - {example, "rebar eunit"}, + {example, "rebar3 eunit"}, {short_desc, "Run EUnit Tests."}, {desc, ""}, {opts, eunit_opts(State)}, diff --git a/src/rebar_prv_new.erl b/src/rebar_prv_new.erl index e432371..77e100f 100644 --- a/src/rebar_prv_new.erl +++ b/src/rebar_prv_new.erl @@ -22,7 +22,7 @@ init(State) -> {module, ?MODULE}, {bare, false}, {deps, ?DEPS}, - {example, "rebar new