diff options
author | Tristan Sloughter <tristan.sloughter@gmail.com> | 2014-11-10 19:35:10 -0600 |
---|---|---|
committer | Tristan Sloughter <tristan.sloughter@gmail.com> | 2014-11-10 19:35:10 -0600 |
commit | 022ffdf6cb7fdf77f5bc3e3d2ecbe715a9b84c7a (patch) | |
tree | c70c4a6b9065b0132e785dcf15b90f9833577c7f /priv/templates/release.template | |
parent | e202367322b7ce155379196f42a009cf5bfa7e22 (diff) | |
parent | 392abf148122be020f3955005497d488d3f881fd (diff) |
Merge pull request #28 from tsloughter/templates-redux
Redo templates with docs and whatnot
Diffstat (limited to 'priv/templates/release.template')
-rw-r--r-- | priv/templates/release.template | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/priv/templates/release.template b/priv/templates/release.template new file mode 100644 index 0000000..3539392 --- /dev/null +++ b/priv/templates/release.template @@ -0,0 +1,15 @@ +{description, "OTP Release structure for executable programs"}. +{variables, [ + {name, "myapp", "Name of the OTP release. An app with this name will also be created."}, + {desc, "An OTP application", "Short description of the release's main app's purpose"} +]}. +{template, "app.erl.dtl", "{{apps_dir}}/{{name}}/src/{{name}}_app.erl"}. +{template, "sup.erl.dtl", "{{apps_dir}}/{{name}}/src/{{name}}_sup.erl"}. +{template, "otp_app.app.src.dtl", "{{apps_dir}}/{{name}}/src/{{name}}.app.src"}. +{template, "rebar.config.dtl", "rebar.config"}. +{template, "relx.config.dtl", "relx.config"}. +{template, "sys.config.dtl", "config/sys.config"}. +{template, "vm.args.dtl", "config/vm.args"}. +{template, "gitignore.dtl", ".gitignore"}. +{template, "LICENSE.dtl", "LICENSE"}. +{template, "README.md.dtl", "README.md"}. |