summaryrefslogtreecommitdiff
path: root/src/rebar_xref.erl
diff options
context:
space:
mode:
authorAndrew Thompson <andrew@hijacked.us>2014-03-05 13:39:55 -0500
committerAndrew Thompson <andrew@hijacked.us>2014-03-05 13:39:55 -0500
commit62b006227cc1c71102ff8a608b3b11e77a06fced (patch)
tree63994d7dad6a762b94a702eff009c6cc51bc5371 /src/rebar_xref.erl
parent6e24cd6ac7f8ba9b125c4898e29fa1e9a207f7d2 (diff)
parentb6908421b7a83a2c2972c3263f32d438c3dc3cec (diff)
Merge pull request #129 from tuncer/erlc-speedup-v5
Speed up the compilation process v5
Diffstat (limited to 'src/rebar_xref.erl')
-rw-r--r--src/rebar_xref.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_xref.erl b/src/rebar_xref.erl
index 91fb60d..16e8cc4 100644
--- a/src/rebar_xref.erl
+++ b/src/rebar_xref.erl
@@ -146,7 +146,7 @@ code_path(Config) ->
%% functions, even though those functions are present as part
%% of compilation. H/t to @dluna. Long term we should tie more
%% properly into the overall compile code path if possible.
- BaseDir = rebar_config:get_xconf(Config, base_dir),
+ BaseDir = rebar_utils:base_dir(Config),
[P || P <- code:get_path() ++
rebar_config:get(Config, xref_extra_paths, []) ++
[filename:join(BaseDir, filename:join(SubDir, "ebin"))