Browse Source

rebar_xref: move code to proper place

pull/3/head
Tuncer Ayaz 13 years ago
parent
commit
e33d3a568f
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/rebar_xref.erl

+ 4
- 4
src/rebar_xref.erl View File

@ -46,6 +46,10 @@ xref(Config, _X) ->
false -> xref0(Config, _X)
end.
%% ===================================================================
%% Internal functions
%% ===================================================================
xref0(Config, _) ->
%% Spin up xref
{ok, _} = xref:start(xref),
@ -96,10 +100,6 @@ xref0(Config, _) ->
?FAIL
end.
%% ===================================================================
%% Internal functions
%% ===================================================================
check_exports_not_used() ->
{ok, UnusedExports0} = xref:analyze(xref, exports_not_used),
UnusedExports = filter_away_ignored(UnusedExports0),

Loading…
Cancel
Save