Skip check for ebin directory when building edoc

edoc target fails if ebin directory does not exist.
ebin directory is not necessary for building edoc.
Skip check that ebin directory exist.
This commit is contained in:
Pavel Baturko 2014-10-19 21:35:37 +04:00
parent 71aedb8674
commit dfc3cc5ad2

View file

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