summaryrefslogtreecommitdiff
path: root/priv/templates/app.template
diff options
context:
space:
mode:
Diffstat (limited to 'priv/templates/app.template')
-rw-r--r--priv/templates/app.template6
1 files changed, 3 insertions, 3 deletions
diff --git a/priv/templates/app.template b/priv/templates/app.template
index 39ec14a..78374af 100644
--- a/priv/templates/app.template
+++ b/priv/templates/app.template
@@ -1,10 +1,10 @@
{description, "OTP Application"}.
{variables, [
- {appid, "mylib", "Name of the OTP application"},
+ {name, "mylib", "Name of the OTP application"},
{desc, "An OTP application", "Short description of the app"}
]}.
-{template, "app.erl.dtl", "src/{{appid}}_app.erl"}.
-{template, "otp_app.app.src.dtl", "src/{{appid}}.app.src"}.
+{template, "app.erl.dtl", "src/{{name}}_app.erl"}.
+{template, "otp_app.app.src.dtl", "src/{{name}}.app.src"}.
{template, "rebar.config.dtl", "rebar.config"}.
{template, "gitignore.dtl", ".gitignore"}.
{template, "LICENSE.dtl", "LICENSE"}.