aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2015-07-15 12:57:32 -0500
committerTristan Sloughter <[email protected]>2015-07-15 12:57:46 -0500
commit15eac7dab9cfa20a3d1f23942a4a381075925260 (patch)
tree3bdd861f6c59a1ccf6715d788061cd2cc848ba20 /src
parenta8d0e5b2ef1237d4458ee480e6294a6ea2f70d05 (diff)
downloadrelx-15eac7dab9cfa20a3d1f23942a4a381075925260.tar.gz
relx-15eac7dab9cfa20a3d1f23942a4a381075925260.tar.bz2
relx-15eac7dab9cfa20a3d1f23942a4a381075925260.zip
run overlay after release not before
Diffstat (limited to 'src')
-rw-r--r--src/rlx_prv_assembler.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl
index a3715e5..3f8a8c2 100644
--- a/src/rlx_prv_assembler.erl
+++ b/src/rlx_prv_assembler.erl
@@ -31,7 +31,7 @@
-include("relx.hrl").
-define(PROVIDER, release).
--define(DEPS, [overlay]).
+-define(DEPS, [resolve_release]).
%%============================================================================
%% API
@@ -40,7 +40,8 @@
init(State) ->
State1 = rlx_state:add_provider(State, providers:create([{name, ?PROVIDER},
{module, ?MODULE},
- {deps, ?DEPS}])),
+ {deps, ?DEPS},
+ {hooks, {[], [overlay]}}])),
{ok, State1}.
%% @doc recursively dig down into the library directories specified in the state