diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2014-11-10 19:03:25 +0000 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2014-11-10 22:37:09 +0000 |
commit | c832b567dba73ddbed961b265f2018b3f2cb45ae (patch) | |
tree | e82b6bba0a1e6e68c17adeb185cb5fad399b3a4c /priv/templates/app.template | |
parent | e202367322b7ce155379196f42a009cf5bfa7e22 (diff) |
Redo templates with docs and whatnot
This totally breaks compatibility with rebar2, and maybe it shouldn't
have.
Diffstat (limited to 'priv/templates/app.template')
-rw-r--r-- | priv/templates/app.template | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/priv/templates/app.template b/priv/templates/app.template new file mode 100644 index 0000000..39ec14a --- /dev/null +++ b/priv/templates/app.template @@ -0,0 +1,11 @@ +{description, "OTP Application"}. +{variables, [ + {appid, "mylib", "Name of the OTP application"}, + {desc, "An OTP application", "Short description of the app"} +]}. +{template, "app.erl.dtl", "src/{{appid}}_app.erl"}. +{template, "otp_app.app.src.dtl", "src/{{appid}}.app.src"}. +{template, "rebar.config.dtl", "rebar.config"}. +{template, "gitignore.dtl", ".gitignore"}. +{template, "LICENSE.dtl", "LICENSE"}. +{template, "README.md.dtl", "README.md"}. |