diff options
-rw-r--r-- | rebar.config.sample | 3 | ||||
-rw-r--r-- | src/rebar_templater.erl | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/rebar.config.sample b/rebar.config.sample index f57f8dc..54f32b2 100644 --- a/rebar.config.sample +++ b/rebar.config.sample @@ -128,7 +128,8 @@ %% Paths to miscellaneous Erlang files to compile for an app %% without including them in its modules list {extra_src_dirs, []}. - +%% Path where custom rebar3 templates could be found +{template_dir, []}. %% == EDoc == diff --git a/src/rebar_templater.erl b/src/rebar_templater.erl index 2f33bfc..299b957 100644 --- a/src/rebar_templater.erl +++ b/src/rebar_templater.erl @@ -326,7 +326,7 @@ find_other_templates(State) -> undefined -> []; TemplateDir -> - rebar_utils:find_files(TemplateDir, ?TEMPLATE_RE) + rebar_utils:find_files(TemplateDir, ?TEMPLATE_RE, true) % recursive end. %% Fetch template indexes that sit on disk in plugins |