diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2016-01-11 14:54:49 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2016-01-11 14:54:49 -0500 |
commit | 810b74326142f1f39cc98da6021c9fc9236a8045 (patch) | |
tree | 6cfbdd2c2eef535ac236bb3c48c553f7e911b287 | |
parent | 2301dd5c2e10578b0744786b48e7815781eb4658 (diff) |
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.
-rw-r--r-- | priv/templates/otp_app.app.src | 2 | ||||
-rw-r--r-- | priv/templates/relx_rebar.config | 2 | ||||
-rw-r--r-- | priv/templates/sys.config | 2 |
3 files changed, 3 insertions, 3 deletions
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}}, []} ]. |