diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2014-11-11 01:27:41 +0000 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2014-11-11 01:27:41 +0000 |
commit | 392abf148122be020f3955005497d488d3f881fd (patch) | |
tree | c70c4a6b9065b0132e785dcf15b90f9833577c7f /priv/templates/otp_app.app.src.dtl | |
parent | 4ed1c4ef581cb780a4b6e2da7cb4e8243b20a370 (diff) |
First unkeyed var is now 'name', appid -> name
The first variable can be unkeyed and the provider will sub in the
variable name 'name'. Additionally, the built-in templates and
documentation have been updated so that 'appid' is now 'name' and the
alternative commands are shown.
Diffstat (limited to 'priv/templates/otp_app.app.src.dtl')
-rw-r--r-- | priv/templates/otp_app.app.src.dtl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/templates/otp_app.app.src.dtl b/priv/templates/otp_app.app.src.dtl index cd5ac89..5188f56 100644 --- a/priv/templates/otp_app.app.src.dtl +++ b/priv/templates/otp_app.app.src.dtl @@ -1,8 +1,8 @@ -{application, {{appid}}, +{application, {{name}}, [{description, "{{desc}}"} ,{vsn, "0.1.0"} ,{registered, []} - ,{mod, {'{{appid}}_app', []}} + ,{mod, {'{{name}}_app', []}} ,{applications, [kernel ,stdlib |