From 0a0539ae2aad4f4d227927e0c205b8aef7ab9acc Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Sun, 20 May 2018 11:08:08 -0400 Subject: Auto-boot main app in OTP app project templates People are starting to expect these niceties! It's also easier to drop the config when you know it's there than add it when you don't know it exists. --- priv/templates/app_rebar.config | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 priv/templates/app_rebar.config (limited to 'priv/templates/app_rebar.config') diff --git a/priv/templates/app_rebar.config b/priv/templates/app_rebar.config new file mode 100644 index 0000000..203ce4a --- /dev/null +++ b/priv/templates/app_rebar.config @@ -0,0 +1,7 @@ +{erl_opts, [debug_info]}. +{deps, []}. + +{shell, [ + % {config, [{config, "config/sys.config"}]}, + {apps, [{{name}}]} +]}. -- cgit v1.1