diff options
author | Tristan Sloughter <tristan.sloughter@gmail.com> | 2015-02-06 08:25:14 -0600 |
---|---|---|
committer | Tristan Sloughter <tristan.sloughter@gmail.com> | 2015-02-06 08:25:14 -0600 |
commit | 7f9b48d3d78f2056f8a944ab3eee2b283703b527 (patch) | |
tree | 767adfe824679232b4b9053c431f6d54c84f3d18 | |
parent | 4408d8e5029b61923263803457f8990fdb9bb365 (diff) | |
parent | 212655c3ecaf73a17e35bb7400e9f088d4d3df69 (diff) |
Merge pull request #128 from kellymclaughlin/multi-app-xref-support
Add xref support for multi-app projects
-rw-r--r-- | src/rebar_prv_xref.erl | 3 |
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 |