Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
rebar
0002-rebar_edoc-regenerate-edocs-when-new-true-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-rebar_edoc-regenerate-edocs-when-new-true-presents-i.patch of Package rebar
From 28d4f288762124d7d66fb5af257d89f8c736fe9a Mon Sep 17 00:00:00 2001 From: Led <ledest@gmail.com> Date: Mon, 25 Mar 2019 14:37:07 +0200 Subject: [PATCH] rebar_edoc: regenerate edocs when '{new, true}' presents in edoc_opts --- 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 7613ea5..cfed1bb 100644 --- a/src/rebar_edoc.erl +++ b/src/rebar_edoc.erl @@ -57,7 +57,7 @@ doc(Config, File) -> {ok, Config1, AppName, _AppData} = rebar_app_utils:load_app_file(Config, File), - case needs_regen(EDocOpts) of + case lists:keyfind(new, 1, EDocOpts) =:= {new, true} orelse needs_regen(EDocOpts) of true -> ?INFO("Regenerating edocs for ~p\n", [AppName]), ok = edoc:application(AppName, ".", EDocOpts); -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor