summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--priv/templates/app.template1
-rw-r--r--src/rebar_templater.erl2
2 files changed, 2 insertions, 1 deletions
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"}.
diff --git a/src/rebar_templater.erl b/src/rebar_templater.erl
index cd0f5d4..4d871cd 100644
--- a/src/rebar_templater.erl
+++ b/src/rebar_templater.erl
@@ -138,7 +138,7 @@ default_variables() ->
{author_name, "Anonymous"},
{author_email, "anonymous@example.org"},
{copyright_year, integer_to_list(Y)},
- {apps_dir, "apps/", "Directory where applications will be created if needed"}].
+ {apps_dir, "apps", "Directory where applications will be created if needed"}].
%% Load variable definitions from the 'Globals' file in the home template
%% directory