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 +- priv/templates/relx_rebar.config | 2 +- priv/templates/sys.config | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'priv/templates') 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 diff --git a/priv/templates/relx_rebar.config b/priv/templates/relx_rebar.config index eab99ac..81b7dbe 100644 --- a/priv/templates/relx_rebar.config +++ b/priv/templates/relx_rebar.config @@ -1,7 +1,7 @@ {erl_opts, [debug_info]}. {deps, []}. -{relx, [{release, {{{name}}, "0.1.0"}, +{relx, [{release, { {{name}}, "0.1.0" }, [{{name}}, sasl]}, diff --git a/priv/templates/sys.config b/priv/templates/sys.config index b587675..d892fd6 100644 --- a/priv/templates/sys.config +++ b/priv/templates/sys.config @@ -1,3 +1,3 @@ [ - {{{name}}, []} + { {{name}}, []} ]. -- cgit v1.1