summaryrefslogtreecommitdiff
path: root/src/rebar_xref.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_xref.erl')
-rw-r--r--src/rebar_xref.erl8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/rebar_xref.erl b/src/rebar_xref.erl
index 84d422e..1392c6f 100644
--- a/src/rebar_xref.erl
+++ b/src/rebar_xref.erl
@@ -40,7 +40,13 @@
%% Public API
%% ===================================================================
-xref(Config, _) ->
+xref(Config, _X) ->
+ case rebar_utils:is_skipped_app() of
+ true -> ok;
+ false -> xref0(Config, _X)
+ end.
+
+xref0(Config, _) ->
%% Spin up xref
{ok, _} = xref:start(xref),
ok = xref:set_library_path(xref, code_path()),