diff options
Diffstat (limited to 'priv/templates/plugin_README.md.dtl')
-rw-r--r-- | priv/templates/plugin_README.md.dtl | 19 |
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> |