From 823dc3065f0efaa3e723c17f79b340fe9a6fb51e Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Tue, 22 Jun 2010 11:01:28 -0600 Subject: [PATCH] Updating simpleapp template to use .app.src --- priv/templates/simpleapp.app | 16 ---------------- priv/templates/simpleapp.template | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 priv/templates/simpleapp.app diff --git a/priv/templates/simpleapp.app b/priv/templates/simpleapp.app deleted file mode 100644 index ec30ffe..0000000 --- a/priv/templates/simpleapp.app +++ /dev/null @@ -1,16 +0,0 @@ -{application, {{appid}}, - [ - {description, ""}, - {vsn, "1"}, - {modules, [ - {{appid}}_app, - {{appid}}_sup - ]}, - {registered, []}, - {applications, [ - kernel, - stdlib - ]}, - {mod, { {{appid}}_app, []}}, - {env, []} - ]}. diff --git a/priv/templates/simpleapp.template b/priv/templates/simpleapp.template index a95ce45..733766e 100644 --- a/priv/templates/simpleapp.template +++ b/priv/templates/simpleapp.template @@ -1,4 +1,4 @@ {variables, [{appid, "myapp"}]}. -{template, "simpleapp.app", "ebin/{{appid}}.app"}. +{template, "simpleapp.app.src", "src/{{appid}}.app.src"}. {template, "simpleapp_app.erl", "src/{{appid}}_app.erl"}. {template, "simpleapp_sup.erl", "src/{{appid}}_sup.erl"}. \ No newline at end of file