summaryrefslogtreecommitdiff
path: root/priv/templates/plugin.template
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-07-01 08:47:48 -0500
committerTristan Sloughter <t@crashfast.com>2015-07-01 08:47:48 -0500
commitac0a8d40cdaab1a9999446afb895c1e677c6ef9c (patch)
tree48657b04795029d5ae3aa833920fda88717a62f6 /priv/templates/plugin.template
parent3908c20aae55242e666f61fbbfd5985a4b69d824 (diff)
update plugin template to separate plugin init and providers
Diffstat (limited to 'priv/templates/plugin.template')
-rw-r--r--priv/templates/plugin.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/priv/templates/plugin.template b/priv/templates/plugin.template
index 811be0b..c0e36de 100644
--- a/priv/templates/plugin.template
+++ b/priv/templates/plugin.template
@@ -4,6 +4,7 @@
{desc, "A rebar plugin", "Short description of the plugin's purpose"}
]}.
{template, "plugin.erl", "{{name}}/src/{{name}}.erl"}.
+{template, "provider.erl", "{{name}}/src/prv_{{name}}_prv.erl"}.
{template, "otp_lib.app.src", "{{name}}/src/{{name}}.app.src"}.
{template, "rebar.config", "{{name}}/rebar.config"}.
{template, "gitignore", "{{name}}/.gitignore"}.