Update relx config w/ minimal mode

This commit is contained in:
Andrew Mayorov 2021-02-18 15:23:38 +03:00
parent d049ee3f6b
commit 22b8bca944
No known key found for this signature in database
GPG Key ID: 5AB939BC29BDA254

View File

@ -137,27 +137,6 @@
%% Tests
{cover_enabled, true}.
%% Relx configuration
{relx, [
{release, {bouncer, "0.1.0"}, [
% tools for introspection
{recon, load},
% debugger
{runtime_tools, load},
% profiler
{tools, load},
% logger formatter
{logger_logstash_formatter, load},
how_are_you,
bouncer
]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}
]}.
%% Dialyzer static analyzing
{dialyzer, [
{warnings, [
@ -172,10 +151,24 @@
{profiles, [
{prod, [
%% Relx configuration
{relx, [
{dev_mode, false},
{include_erts, true},
{overlay, []}
{release, {bouncer, "0.1.0"}, [
% tools for introspection
{recon, load},
% debugger
{runtime_tools, load},
% profiler
{tools, load},
% logger formatter
{logger_logstash_formatter, load},
how_are_you,
bouncer
]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{mode, minimal},
{extended_start_script, true}
]}
]},