summaryrefslogtreecommitdiff
path: root/priv/templates/plugin_README.md
diff options
context:
space:
mode:
authorsimonxu72 <simon.xu72@gmail.com>2018-10-16 18:37:28 +0800
committersimonxu72 <simon.xu72@gmail.com>2018-10-16 18:37:28 +0800
commit41d133856bf199034b0eeb0903bedc2071fba7e1 (patch)
tree15135eaf1501e016ec1b91b275356a0cfd92d867 /priv/templates/plugin_README.md
parentb81871c61809a9e5c09f54d6c8298908d18a760c (diff)
parent7bfc8110d1736d2cbf61e19d2fc16dc8e854b460 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'priv/templates/plugin_README.md')
-rw-r--r--priv/templates/plugin_README.md13
1 files changed, 7 insertions, 6 deletions
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@@
<Plugin Output>