Browse Source

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.
pull/1012/head
Fred Hebert 9 years ago
parent
commit
810b743261
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      priv/templates/otp_app.app.src
  2. +1
    -1
      priv/templates/relx_rebar.config
  3. +1
    -1
      priv/templates/sys.config

+ 1
- 1
priv/templates/otp_app.app.src View File

@ -2,7 +2,7 @@
[{description, "{{desc}}"},
{vsn, "0.1.0"},
{registered, []},
{mod, {{{name}}_app, []}},
{mod, { {{name}}_app, []}},
{applications,
[kernel,
stdlib

+ 1
- 1
priv/templates/relx_rebar.config View File

@ -1,7 +1,7 @@
{erl_opts, [debug_info]}.
{deps, []}.
{relx, [{release, {{{name}}, "0.1.0"},
{relx, [{release, { {{name}}, "0.1.0" },
[{{name}},
sasl]},

+ 1
- 1
priv/templates/sys.config View File

@ -1,3 +1,3 @@
[
{{{name}}, []}
{ {{name}}, []}
].

Loading…
Cancel
Save