summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_xref.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_prv_xref.erl b/src/rebar_prv_xref.erl
index 32ebf46..49ae70e 100644
--- a/src/rebar_prv_xref.erl
+++ b/src/rebar_prv_xref.erl
@@ -96,7 +96,8 @@ prepare(State) ->
rebar_state:get(State, xref_warnings, false)},
{verbose, rebar_log:is_verbose(State)}]),
- {ok, _} = xref:add_directory(xref, "ebin"),
+ [{ok, _} = xref:add_directory(xref, rebar_app_info:ebin_dir(App))
+ || App <- rebar_state:project_apps(State)],
%% Save the code path prior to doing any further code path
%% manipulation