summaryrefslogtreecommitdiff
path: root/priv/templates/app.template
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2018-05-20 11:08:08 -0400
committerFred Hebert <mononcqc@ferd.ca>2018-05-20 11:08:08 -0400
commit0a0539ae2aad4f4d227927e0c205b8aef7ab9acc (patch)
treed76b5ecd202a268e43f66954e9e4d41d0d57c3bb /priv/templates/app.template
parent966ba72f9098ba1034cb26149a85f41dca1c4cef (diff)
Auto-boot main app in OTP app project templates
People are starting to expect these niceties! It's also easier to drop the config when you know it's there than add it when you don't know it exists.
Diffstat (limited to 'priv/templates/app.template')
-rw-r--r--priv/templates/app.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/app.template b/priv/templates/app.template
index d0bebd7..7d68b2c 100644
--- a/priv/templates/app.template
+++ b/priv/templates/app.template
@@ -6,7 +6,7 @@
{template, "app.erl", "{{name}}/src/{{name}}_app.erl"}.
{template, "sup.erl", "{{name}}/src/{{name}}_sup.erl"}.
{template, "otp_app.app.src", "{{name}}/src/{{name}}.app.src"}.
-{template, "rebar.config", "{{name}}/rebar.config"}.
+{template, "app_rebar.config", "{{name}}/rebar.config"}.
{template, "gitignore", "{{name}}/.gitignore"}.
{template, "LICENSE", "{{name}}/LICENSE"}.
{template, "README.md", "{{name}}/README.md"}.