summaryrefslogtreecommitdiff
path: root/priv/templates/plugin.template
blob: c0e36de6b9d52b9e4b7be08589f265473c9622ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{description, "Rebar3 plugin project structure"}.
{variables, [
    {name, "myplugin", "Name of the plugin"},
    {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"}.
{template, "LICENSE", "{{name}}/LICENSE"}.
{template, "plugin_README.md", "{{name}}/README.md"}.