diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2014-11-14 18:30:18 +0000 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2014-11-14 18:30:18 +0000 |
commit | 731c3fd8a43b49e7d47127c743160705f776ce40 (patch) | |
tree | 2d3b51015310e13f547ed841ce130043289d551b /priv/templates | |
parent | ad9ca0cc8644b0a89a05ea184483c1d7b8318fcd (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')
-rw-r--r-- | priv/templates/app.template | 1 |
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"}. |