浏览代码

rebar_xref: move code to proper place

pull/3/head
Tuncer Ayaz 13 年前
父节点
当前提交
e33d3a568f
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. +4
    -4
      src/rebar_xref.erl

+ 4
- 4
src/rebar_xref.erl 查看文件

@ -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),

正在加载...
取消
保存