浏览代码

Merge pull request #1602 from ferd/alias-release-to-umbrella

Add an alias of 'release' template as 'umbrella'
pull/1614/head
Fred Hebert 7 年前
提交者 GitHub
父节点
当前提交
957caae90f
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. +15
    -0
      priv/templates/umbrella.template

+ 15
- 0
priv/templates/umbrella.template 查看文件

@ -0,0 +1,15 @@
{description, "OTP structure for executable programs (alias of 'release' template)"}.
{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", "{{name}}/{{apps_dir}}/{{name}}/src/{{name}}_app.erl"}.
{template, "sup.erl", "{{name}}/{{apps_dir}}/{{name}}/src/{{name}}_sup.erl"}.
{template, "otp_app.app.src", "{{name}}/{{apps_dir}}/{{name}}/src/{{name}}.app.src"}.
{template, "relx_rebar.config", "{{name}}/rebar.config"}.
{template, "sys.config", "{{name}}/config/sys.config"}.
{template, "vm.args", "{{name}}/config/vm.args"}.
{template, "gitignore", "{{name}}/.gitignore"}.
{template, "LICENSE", "{{name}}/LICENSE"}.
{template, "README.md", "{{name}}/README.md"}.

正在加载...
取消
保存