Merge pull request #376 from irpab/edoc_without_ebin

Remove check adding ebin to path for edoc target
This commit is contained in:
Fred Hebert 2014-10-23 18:54:46 -04:00
commit b92dce1569

View file

@ -87,7 +87,7 @@ setup_code_path() ->
%% and the like can work properly when generating their own %% and the like can work properly when generating their own
%% documentation. %% documentation.
CodePath = code:get_path(), CodePath = code:get_path(),
true = code:add_patha(rebar_utils:ebin_dir()), _ = code:add_patha(rebar_utils:ebin_dir()),
CodePath. CodePath.
-type path_spec() :: {'file', file:filename()} | file:filename(). -type path_spec() :: {'file', file:filename()} | file:filename().