summaryrefslogtreecommitdiff
path: root/priv/templates/escript.template
blob: e41c313fdc1e2cc6abf399c2afc86bfbc890b710 (plain)
1
2
3
4
5
6
7
8
9
10
11
{description, "Complete escriptized application structure"}.
{variables, [
    {name, "mylib", "Name of the OTP application to be escriptized"},
    {desc, "An escript", "Short description of the project"}
]}.
{template, "escript_mod.erl", "{{name}}/src/{{name}}.erl"}.
{template, "otp_lib.app.src", "{{name}}/src/{{name}}.app.src"}.
{template, "escript_rebar.config", "{{name}}/rebar.config"}.
{template, "gitignore", "{{name}}/.gitignore"}.
{template, "LICENSE", "{{name}}/LICENSE"}.
{template, "escript_README.md", "{{name}}/README.md"}.