summaryrefslogtreecommitdiff
path: root/src/rebar_edoc.erl
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2012-08-06 19:00:18 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-08-06 19:00:18 +0200
commit491d52298e270c30901d2cf6e218e8cb0247f068 (patch)
tree603364dae1cceb480672bfcf806cc4c4a2f0cfbc /src/rebar_edoc.erl
parente2492eb37f2b240bc21b414269f96e44217b5de1 (diff)
Re-use rebar_utils:ebin_dir()
Diffstat (limited to 'src/rebar_edoc.erl')
-rw-r--r--src/rebar_edoc.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rebar_edoc.erl b/src/rebar_edoc.erl
index a022913..c88fe62 100644
--- a/src/rebar_edoc.erl
+++ b/src/rebar_edoc.erl
@@ -87,12 +87,9 @@ setup_code_path() ->
%% and the like can work properly when generating their own
%% documentation.
CodePath = code:get_path(),
- true = code:add_patha(ebin_dir()),
+ true = code:add_patha(rebar_utils:ebin_dir()),
CodePath.
-ebin_dir() ->
- filename:join(rebar_utils:get_cwd(), "ebin").
-
newer_file_exists(Paths, LastMod) ->
CheckFile = fun(Filename, _) ->
FLast = filelib:last_modified(Filename),