summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-09-16 19:41:21 -0500
committerTristan Sloughter <t@crashfast.com>2014-09-16 19:41:21 -0500
commit5980a3c72aacf5a4d2054ebb09926cdce5ca987b (patch)
treebfe3911377ad45b310a5b68dedd7721826fac8fd /priv
parent884d298291e64fad99f096ee82018b568e0985f2 (diff)
update release run and variables in templates
Diffstat (limited to 'priv')
-rw-r--r--priv/templates/otp_lib.template1
-rw-r--r--priv/templates/otp_rel.template1
2 files changed, 2 insertions, 0 deletions
diff --git a/priv/templates/otp_lib.template b/priv/templates/otp_lib.template
index 605de9c..1388dfb 100644
--- a/priv/templates/otp_lib.template
+++ b/priv/templates/otp_lib.template
@@ -1,3 +1,4 @@
+{variables, []}.
{template, "app.erl", "src/{{appid}}_app.erl"}.
{template, "sup.erl", "src/{{appid}}_sup.erl"}.
{template, "otp_lib.app.src", "src/{{appid}}.app.src"}.
diff --git a/priv/templates/otp_rel.template b/priv/templates/otp_rel.template
index 450c539..b75c1da 100644
--- a/priv/templates/otp_rel.template
+++ b/priv/templates/otp_rel.template
@@ -1,3 +1,4 @@
+{variables, []}.
{template, "app.erl", "apps/{{appid}}/src/{{appid}}_app.erl"}.
{template, "sup.erl", "apps/{{appid}}/src/{{appid}}_sup.erl"}.
{template, "otp_app.app.src", "apps/{{appid}}/src/{{appid}}.app.src"}.