diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2016-01-22 22:04:24 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2016-01-22 22:04:24 -0500 |
commit | 22510b8067ae7c57228e2d32a98b5ebfa791ad8b (patch) | |
tree | 2338137fd282dd97dc1122ffd0d573cfd334cf26 /src | |
parent | 350fcd9f7a5a7cbdd78b89a3b2cfdacef4d01862 (diff) | |
parent | 42113a03647d72cd4a900bb840372d2333a75abe (diff) |
Merge pull request #1029 from tsloughter/master
local install and local upgrade
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_local_install.erl | 4 | ||||
-rw-r--r-- | src/rebar_prv_local_upgrade.erl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_prv_local_install.erl b/src/rebar_prv_local_install.erl index 65468a3..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, []). %% =================================================================== @@ -60,7 +60,7 @@ format_error(Reason) -> bin_contents(OutputDir) -> <<"#!/usr/bin/env sh -erl -pz ", (ec_cnv:to_binary(OutputDir))/binary,"/*/ebin +sbtu +A0 -noshell -boot start_clean -s rebar3 main -extra \"$@\" +erl -pz ", (ec_cnv:to_binary(OutputDir))/binary,"/*/ebin +sbtu +A0 -noshell -boot start_clean -s rebar3 main $REBAR3_ERL_ARGS -extra \"$@\" ">>. extract_escript(State, ScriptPath) -> 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, []). %% =================================================================== |