summaryrefslogtreecommitdiff
path: root/priv/templates/plugin_README.md.dtl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2014-11-11 01:27:41 +0000
committerFred Hebert <mononcqc@ferd.ca>2014-11-11 01:27:41 +0000
commit392abf148122be020f3955005497d488d3f881fd (patch)
treec70c4a6b9065b0132e785dcf15b90f9833577c7f /priv/templates/plugin_README.md.dtl
parent4ed1c4ef581cb780a4b6e2da7cb4e8243b20a370 (diff)
First unkeyed var is now 'name', appid -> name
The first variable can be unkeyed and the provider will sub in the variable name 'name'. Additionally, the built-in templates and documentation have been updated so that 'appid' is now 'name' and the alternative commands are shown.
Diffstat (limited to 'priv/templates/plugin_README.md.dtl')
-rw-r--r--priv/templates/plugin_README.md.dtl10
1 files changed, 5 insertions, 5 deletions
diff --git a/priv/templates/plugin_README.md.dtl b/priv/templates/plugin_README.md.dtl
index c784324..8c91947 100644
--- a/priv/templates/plugin_README.md.dtl
+++ b/priv/templates/plugin_README.md.dtl
@@ -1,4 +1,4 @@
-{{appid}}
+{{name}}
=====
{{desc}}
@@ -14,14 +14,14 @@ Use
Add the plugin to your rebar config:
{plugins, [
- { {{appid}}, ".*", {git, "git@host:user/{{appid}}.git", {tag, "0.1.0"}}}
+ { {{name}}, ".*", {git, "git@host:user/{{name}}.git", {tag, "0.1.0"}}}
]}.
Then just call your plugin directly in an existing application:
- $ rebar3 {{appid}}
- ===> Fetching {{appid}}
+ $ rebar3 {{name}}
+ ===> Fetching {{name}}
Cloning into '.tmp_dir539136867963'...
- ===> Compiling {{appid}}
+ ===> Compiling {{name}}
<Plugin Output>