summaryrefslogtreecommitdiff
path: root/priv/templates/app.template
blob: 7d68b2c942d5d4cbeb16e3b42f5d6c6067ef3f9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{description, "Complete OTP Application structure."}.
{variables, [
    {name, "mylib", "Name of the OTP application"},
    {desc, "An OTP application", "Short description of the app"}
]}.
{template, "app.erl", "{{name}}/src/{{name}}_app.erl"}.
{template, "sup.erl", "{{name}}/src/{{name}}_sup.erl"}.
{template, "otp_app.app.src", "{{name}}/src/{{name}}.app.src"}.
{template, "app_rebar.config", "{{name}}/rebar.config"}.
{template, "gitignore", "{{name}}/.gitignore"}.
{template, "LICENSE", "{{name}}/LICENSE"}.
{template, "README.md", "{{name}}/README.md"}.