From 731c3fd8a43b49e7d47127c743160705f776ce40 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Fri, 14 Nov 2014 18:30:18 +0000 Subject: Minor template fixes - The OTP app template now adds the supevisor - The default apps_dir value does not contain the trailing '/' that the template index already added. --- priv/templates/app.template | 1 + 1 file changed, 1 insertion(+) (limited to 'priv') diff --git a/priv/templates/app.template b/priv/templates/app.template index b7bfebc..b17e30c 100644 --- a/priv/templates/app.template +++ b/priv/templates/app.template @@ -4,6 +4,7 @@ {desc, "An OTP application", "Short description of the app"} ]}. {template, "app.erl.dtl", "{{name}}/src/{{name}}_app.erl"}. +{template, "sup.erl.dtl", "{{name}}/src/{{name}}_sup.erl"}. {template, "otp_app.app.src.dtl", "{{name}}/src/{{name}}.app.src"}. {template, "rebar.config.dtl", "{{name}}/rebar.config"}. {template, "gitignore.dtl", "{{name}}/.gitignore"}. -- cgit v1.1