diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-05-09 14:57:46 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-05-09 14:57:46 -0400 |
commit | ba8abae2258b95b34389ee8d9cb16ae4cc037473 (patch) | |
tree | ac5d52fe1ed6330001bcdf12b1a3bac6a3119f10 /priv/templates/escript.template | |
parent | b904c5b57a4dbe393009da0bc6720c2a78a310e1 (diff) | |
parent | 6c72286bf9a60e9c2945a9a416762b175f5fe160 (diff) |
Merge pull request #408 from tsloughter/escriptize_template
add escriptize project template
Diffstat (limited to 'priv/templates/escript.template')
-rw-r--r-- | priv/templates/escript.template | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/priv/templates/escript.template b/priv/templates/escript.template new file mode 100644 index 0000000..c0afd3c --- /dev/null +++ b/priv/templates/escript.template @@ -0,0 +1,11 @@ +{description, "Escriptized application"}. +{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"}. |