From d538be3481e65a00f2817344f697f88b1b55f8c3 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Fri, 5 Oct 2018 10:57:58 -0400 Subject: Bump bbmustache and fix templates (#1862) * bump bbmustache to version 1.6.0 * Use alternative bbmustache brackets in templates This fixes the problems where literal nested tuples (`{{a,b},c}` or `{{a,b}}`) would blow up and spaces needed to be inserted. --- priv/templates/plugin_README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'priv/templates/plugin_README.md') diff --git a/priv/templates/plugin_README.md b/priv/templates/plugin_README.md index 7f9ba84..1176d95 100644 --- a/priv/templates/plugin_README.md +++ b/priv/templates/plugin_README.md @@ -1,7 +1,8 @@ -{{name}} +{{=@@ @@=}} +@@name@@ ===== -{{desc}} +@@desc@@ Build ----- @@ -14,13 +15,13 @@ Use Add the plugin to your rebar config: {plugins, [ - { {{name}}, ".*", {git, "git@host:user/{{name}}.git", {tag, "0.1.0"}}} + {@@name@@, {git, "https://host/user/@@name@@.git", {tag, "0.1.0"}}} ]}. Then just call your plugin directly in an existing application: - $ rebar3 {{name}} - ===> Fetching {{name}} - ===> Compiling {{name}} + $ rebar3 @@name@@ + ===> Fetching @@name@@ + ===> Compiling @@name@@ -- cgit v1.1