summaryrefslogtreecommitdiff
path: root/priv/templates/plugin.template
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-07-01 10:20:11 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-07-01 10:20:11 -0400
commitff1079f678e0bb633ca8bc8eb96f8f7b4efd33a7 (patch)
tree68d0f49672ab05f749eb574d68aa686ff509b486 /priv/templates/plugin.template
parent619e41b916d1d121623b410a21d48e3106035788 (diff)
parentac0a8d40cdaab1a9999446afb895c1e677c6ef9c (diff)
Merge pull request #573 from tsloughter/plugins_tpl
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"}.