summaryrefslogtreecommitdiff
path: root/priv/templates/lib.template
blob: 4d069013718be70572ae19af85ec63e0e45bfd94 (plain)
1
2
3
4
5
6
7
8
9
10
11
{description, "Complete OTP Library application (no processes) structure"}.
{variables, [
    {name, "mylib", "Name of the OTP library application"},
    {desc, "An OTP library", "Short description of the app"}
]}.
{template, "mod.erl", "{{name}}/src/{{name}}.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, "README.md", "{{name}}/README.md"}.