summaryrefslogtreecommitdiff
path: root/test/rebar_new_SUITE_data/.rebar3/templates/app/test_app.template
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2014-12-23 12:32:58 -0500
committerFred Hebert <mononcqc@ferd.ca>2014-12-23 12:32:58 -0500
commitcd6281043111ed9fd189dd1af1f9f8a756eb3093 (patch)
treeb2af067090c3e8153257cd04ce262f9ed7abed86 /test/rebar_new_SUITE_data/.rebar3/templates/app/test_app.template
parente81e6d2e31bf59e2f5ecd25c5f7c2f7a8dafd4e2 (diff)
parentd25838ff69e3c99cce96cb4e21055eef9e85aa06 (diff)
Merge pull request #72 from rebar/template-tests-subdirs
Add support for custom templates in subdirectories
Diffstat (limited to 'test/rebar_new_SUITE_data/.rebar3/templates/app/test_app.template')
-rw-r--r--test/rebar_new_SUITE_data/.rebar3/templates/app/test_app.template12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/rebar_new_SUITE_data/.rebar3/templates/app/test_app.template b/test/rebar_new_SUITE_data/.rebar3/templates/app/test_app.template
new file mode 100644
index 0000000..b17e30c
--- /dev/null
+++ b/test/rebar_new_SUITE_data/.rebar3/templates/app/test_app.template
@@ -0,0 +1,12 @@
+{description, "OTP Application"}.
+{variables, [
+ {name, "mylib", "Name of the OTP application"},
+ {desc, "An OTP application", "Short description of the app"}
+]}.
+{template, "app.erl.dtl", "{{name}}/src/{{name}}_app.erl"}.
+{template, "sup.erl.dtl", "{{name}}/src/{{name}}_sup.erl"}.
+{template, "otp_app.app.src.dtl", "{{name}}/src/{{name}}.app.src"}.
+{template, "rebar.config.dtl", "{{name}}/rebar.config"}.
+{template, "gitignore.dtl", "{{name}}/.gitignore"}.
+{template, "LICENSE.dtl", "{{name}}/LICENSE"}.
+{template, "README.md.dtl", "{{name}}/README.md"}.