aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2015-07-07 22:22:24 -0500
committerTristan Sloughter <[email protected]>2015-07-08 09:35:57 -0500
commit9f1a39fc01cebf1bc5d6f2fae874acfa476fa792 (patch)
tree1157599070153849a8260627af2fd7d20669d71b /src
parentd8b5dd6be6f44fe93d39b768b7f55b631593efa9 (diff)
downloadrelx-9f1a39fc01cebf1bc5d6f2fae874acfa476fa792.tar.gz
relx-9f1a39fc01cebf1bc5d6f2fae874acfa476fa792.tar.bz2
relx-9f1a39fc01cebf1bc5d6f2fae874acfa476fa792.zip
don't do release discovery unless needed -- like for relups
Diffstat (limited to 'src')
-rw-r--r--src/rlx_prv_release.erl2
-rw-r--r--src/rlx_prv_relup.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rlx_prv_release.erl b/src/rlx_prv_release.erl
index 3729c03..bd58434 100644
--- a/src/rlx_prv_release.erl
+++ b/src/rlx_prv_release.erl
@@ -29,7 +29,7 @@
-include("relx.hrl").
-define(PROVIDER, resolve_release).
--define(DEPS, [rel_discover]).
+-define(DEPS, [app_discover]).
%%============================================================================
%% API
diff --git a/src/rlx_prv_relup.erl b/src/rlx_prv_relup.erl
index 985be90..0dbe8f9 100644
--- a/src/rlx_prv_relup.erl
+++ b/src/rlx_prv_relup.erl
@@ -31,7 +31,7 @@
-include("relx.hrl").
-define(PROVIDER, relup).
--define(DEPS, [resolve_release]).
+-define(DEPS, [rel_discover, resolve_release]).
%%============================================================================
%% API