diff options
author | Tristan Sloughter <t@crashfast.com> | 2016-01-22 15:23:27 -0600 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2016-01-22 15:27:12 -0600 |
commit | 42113a03647d72cd4a900bb840372d2333a75abe (patch) | |
tree | 2338137fd282dd97dc1122ffd0d573cfd334cf26 | |
parent | ecdcf7cd36f37f304e1231dce38a69b45817f473 (diff) |
move unstable install and upgrade to local namespace
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | src/rebar_prv_local_install.erl | 2 | ||||
-rw-r--r-- | src/rebar_prv_local_upgrade.erl | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -74,13 +74,13 @@ Stable versions can be obtained from the [releases page](https://github.com/reba The rebar3 escript can also extract itself with a run script under the user's home directory: ```bash -$ ./rebar3 unstable install +$ ./rebar3 local install ===> Extracting rebar3 libs to ~/.cache/rebar3/lib... ===> Writing rebar3 run script ~/.cache/rebar3/bin/rebar3... ===> Add to $PATH for use: export PATH=$PATH:~/.cache/rebar3/bin ``` -To keep it up to date after you've installed rebar3 this way you can use `rebar3 unstable upgrade` which +To keep it up to date after you've installed rebar3 this way you can use `rebar3 local upgrade` which fetches the latest nightly and extracts to the same place as above. Rebar3 may also be available on various OS-specific package managers such as diff --git a/src/rebar_prv_local_install.erl b/src/rebar_prv_local_install.erl index 66702cf..1b58859 100644 --- a/src/rebar_prv_local_install.erl +++ b/src/rebar_prv_local_install.erl @@ -15,7 +15,7 @@ -include_lib("kernel/include/file.hrl"). -define(PROVIDER, install). --define(NAMESPACE, unstable). +-define(NAMESPACE, local). -define(DEPS, []). %% =================================================================== diff --git a/src/rebar_prv_local_upgrade.erl b/src/rebar_prv_local_upgrade.erl index bdfc232..aa9ee44 100644 --- a/src/rebar_prv_local_upgrade.erl +++ b/src/rebar_prv_local_upgrade.erl @@ -14,7 +14,7 @@ -include_lib("kernel/include/file.hrl"). -define(PROVIDER, upgrade). --define(NAMESPACE, unstable). +-define(NAMESPACE, local). -define(DEPS, []). %% =================================================================== |