summaryrefslogtreecommitdiff
path: root/priv/templates/app.template
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2014-11-14 18:30:18 +0000
committerFred Hebert <mononcqc@ferd.ca>2014-11-14 18:30:18 +0000
commit731c3fd8a43b49e7d47127c743160705f776ce40 (patch)
tree2d3b51015310e13f547ed841ce130043289d551b /priv/templates/app.template
parentad9ca0cc8644b0a89a05ea184483c1d7b8318fcd (diff)
Minor template fixes
- The OTP app template now adds the supevisor - The default apps_dir value does not contain the trailing '/' that the template index already added.
Diffstat (limited to 'priv/templates/app.template')
-rw-r--r--priv/templates/app.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/priv/templates/app.template b/priv/templates/app.template
index b7bfebc..b17e30c 100644
--- a/priv/templates/app.template
+++ b/priv/templates/app.template
@@ -4,6 +4,7 @@
{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"}.