From 9c0d819c126bf9fdfad9b688d7e385d0f15db6b4 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Tue, 5 Jan 2016 19:46:40 -0500 Subject: contributors -> maintaiers in template app data hex.pm is now using maintainers instead of contributors in metadata. Templates should be updated to reflect it. --- priv/templates/otp_app.app.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'priv/templates/otp_app.app.src') diff --git a/priv/templates/otp_app.app.src b/priv/templates/otp_app.app.src index 09e4a48..783a130 100644 --- a/priv/templates/otp_app.app.src +++ b/priv/templates/otp_app.app.src @@ -10,7 +10,7 @@ {env,[]}, {modules, []}, - {contributors, []}, + {maintainers, []}, {licenses, []}, {links, []} ]}. -- cgit v1.1 From 3d0aa5e84a2b2a7158f1e4b2070fecd130a3e2bc Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Sun, 10 Jan 2016 11:44:37 -0500 Subject: Unquote templates, add a warning instead. --- priv/templates/otp_app.app.src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'priv/templates/otp_app.app.src') diff --git a/priv/templates/otp_app.app.src b/priv/templates/otp_app.app.src index 783a130..243cef5 100644 --- a/priv/templates/otp_app.app.src +++ b/priv/templates/otp_app.app.src @@ -1,8 +1,8 @@ -{application, '{{name}}', +{application, {{name}}, [{description, "{{desc}}"}, {vsn, "0.1.0"}, {registered, []}, - {mod, {'{{name}}_app', []}}, + {mod, {{{name}}_app, []}}, {applications, [kernel, stdlib -- cgit v1.1 From 810b74326142f1f39cc98da6021c9fc9236a8045 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Mon, 11 Jan 2016 14:54:49 -0500 Subject: Remove triple brackets in bbmustache templates Issues formerly were avoided by quoting atoms. Unquoting them created unbalanced tags (`{{{name}}`) which were mistakes. This patch inserts spaces to unconfused bbmustache. --- priv/templates/otp_app.app.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'priv/templates/otp_app.app.src') diff --git a/priv/templates/otp_app.app.src b/priv/templates/otp_app.app.src index 243cef5..c18f82c 100644 --- a/priv/templates/otp_app.app.src +++ b/priv/templates/otp_app.app.src @@ -2,7 +2,7 @@ [{description, "{{desc}}"}, {vsn, "0.1.0"}, {registered, []}, - {mod, {{{name}}_app, []}}, + {mod, { {{name}}_app, []}}, {applications, [kernel, stdlib -- cgit v1.1