From dfc3cc5ad2f6ac395cb5967a1c79a31327042c6c Mon Sep 17 00:00:00 2001 From: Pavel Baturko Date: Sun, 19 Oct 2014 21:35:37 +0400 Subject: [PATCH] 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. --- src/rebar_edoc.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_edoc.erl b/src/rebar_edoc.erl index 23200fc..7613ea5 100644 --- a/src/rebar_edoc.erl +++ b/src/rebar_edoc.erl @@ -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().