summaryrefslogtreecommitdiff
path: root/src/rebar_prv_install_deps.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-12-06 17:47:41 -0600
committerTristan Sloughter <t@crashfast.com>2014-12-06 20:08:36 -0600
commitf77cbb7f508345c1352b957d75e0e350725f707c (patch)
tree46d15724ae9f3e85abccaabfe5fb8fd1d2e3cc2e /src/rebar_prv_install_deps.erl
parent2da9be88802e83a6cd577af6c3f1c1c804d3eadb (diff)
don't lose defualt deps when creating current profile
Diffstat (limited to 'src/rebar_prv_install_deps.erl')
-rw-r--r--src/rebar_prv_install_deps.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl
index 692beaf..20e7808 100644
--- a/src/rebar_prv_install_deps.erl
+++ b/src/rebar_prv_install_deps.erl
@@ -70,6 +70,8 @@ do(State) ->
ProjectApps = rebar_state:project_apps(State),
try
{ok, SrcApps, State1} = case {Profile, rebar_state:get(State, locks, [])} of
+ {default, []} ->
+ handle_deps(State, rebar_state:get(State, {deps, Profile}, []));
{default, Locks} ->
handle_deps(State, Locks);
_ ->