diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2014-12-23 04:40:37 +0000 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2014-12-23 04:40:37 +0000 |
commit | d25838ff69e3c99cce96cb4e21055eef9e85aa06 (patch) | |
tree | b2af067090c3e8153257cd04ce262f9ed7abed86 /src | |
parent | e81e6d2e31bf59e2f5ecd25c5f7c2f7a8dafd4e2 (diff) |
Add support for custom templates in subdirectories
- Includes tests for templates and their application
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_templater.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_templater.erl b/src/rebar_templater.erl index ca35b26..47ce093 100644 --- a/src/rebar_templater.erl +++ b/src/rebar_templater.erl @@ -272,7 +272,7 @@ find_disk_templates(State) -> OtherTemplates = find_other_templates(State), Home = rebar_dir:home_dir(), HomeFiles = rebar_utils:find_files(filename:join([Home, ?CONFIG_DIR, "templates"]), - ?TEMPLATE_RE), + ?TEMPLATE_RE, true), % recursive [{file, F} || F <- OtherTemplates ++ HomeFiles]. %% Fetch template indexes that sit on disk in custom areas |