diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2019-07-12 16:00:12 +0300 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2019-07-12 16:00:12 +0300 |
commit | f0bbc05b7a5f5bae003efc5c03679e06040dfec7 (patch) | |
tree | c3e4ff2469ff29d43b5d470a603a6198805f5a0f /rebar.config.script | |
parent | 948578b55be67743c10fac6ac68e973c5f935eff (diff) |
Make sure that configure is run before pc:compile on rebar3
Diffstat (limited to 'rebar.config.script')
-rw-r--r-- | rebar.config.script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rebar.config.script b/rebar.config.script index 694d6879f..0023c25f3 100644 --- a/rebar.config.script +++ b/rebar.config.script @@ -299,7 +299,7 @@ fun(Hooks) -> lists:map(fun({Pkg, Flags}) -> DepPath = ResolveDepPath("deps/" ++ Pkg ++ "/"), Line = lists:flatten(GenDepConfigureLine(DepPath, Flags)), - {add, list_to_atom(Pkg), [{pre_hooks, [{'compile', Line}, {'configure-deps', Line}]}]} + {add, list_to_atom(Pkg), [{pre_hooks, [{{pc, compile}, Line}, {'compile', Line}, {'configure-deps', Line}]}]} end, Hooks) end, |