summaryrefslogtreecommitdiff
path: root/rebar.config.script
diff options
context:
space:
mode:
Diffstat (limited to 'rebar.config.script')
-rw-r--r--rebar.config.script6
1 files changed, 4 insertions, 2 deletions
diff --git a/rebar.config.script b/rebar.config.script
index fee82802..c09380d7 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -304,12 +304,14 @@ fun(Hooks) ->
end,
ProcessErlOpt = fun(Vals) ->
- lists:map(
+ R = lists:map(
fun({i, Path}) ->
{i, ResolveDepPath(Path)};
(ErlOpt) ->
ErlOpt
- end, Vals)
+ end, Vals),
+ M = lists:filter(fun({d, M}) -> true; (_) -> false end, R),
+ [{d, 'ALL_DEFS', M} | R]
end,
ProcssXrefExclusions = fun(Items) ->