summaryrefslogtreecommitdiff
path: root/priv/templates/plugin_README.md.dtl
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2014-11-10 19:35:10 -0600
committerTristan Sloughter <tristan.sloughter@gmail.com>2014-11-10 19:35:10 -0600
commit022ffdf6cb7fdf77f5bc3e3d2ecbe715a9b84c7a (patch)
treec70c4a6b9065b0132e785dcf15b90f9833577c7f /priv/templates/plugin_README.md.dtl
parente202367322b7ce155379196f42a009cf5bfa7e22 (diff)
parent392abf148122be020f3955005497d488d3f881fd (diff)
Merge pull request #28 from tsloughter/templates-redux
Redo templates with docs and whatnot
Diffstat (limited to 'priv/templates/plugin_README.md.dtl')
-rw-r--r--priv/templates/plugin_README.md.dtl19
1 files changed, 16 insertions, 3 deletions
diff --git a/priv/templates/plugin_README.md.dtl b/priv/templates/plugin_README.md.dtl
index 19990f5..8c91947 100644
--- a/priv/templates/plugin_README.md.dtl
+++ b/priv/templates/plugin_README.md.dtl
@@ -1,7 +1,7 @@
-{{appid}}
+{{name}}
=====
-Rebar3 plugin
+{{desc}}
Build
-----
@@ -11,4 +11,17 @@ Build
Use
---
- $ rebar3 {{appid}}
+Add the plugin to your rebar config:
+
+ {plugins, [
+ { {{name}}, ".*", {git, "git@host:user/{{name}}.git", {tag, "0.1.0"}}}
+ ]}.
+
+Then just call your plugin directly in an existing application:
+
+
+ $ rebar3 {{name}}
+ ===> Fetching {{name}}
+ Cloning into '.tmp_dir539136867963'...
+ ===> Compiling {{name}}
+ <Plugin Output>