From 6c72286bf9a60e9c2945a9a416762b175f5fe160 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 9 May 2015 13:23:59 -0500 Subject: add escriptize project template --- priv/templates/escript.template | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 priv/templates/escript.template (limited to 'priv/templates/escript.template') 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"}. -- cgit v1.1