41 lines
1.0 KiB
Erlang
41 lines
1.0 KiB
Erlang
{erl_opts, [debug_info]}.
|
|
{deps, [
|
|
{esockd, {git, "https://github.com/emqx/esockd", {tag, "5.17.0"}}},
|
|
{sync, ".*", {git, "https://github.com/rustyio/sync.git", {branch, "master"}}}
|
|
]}.
|
|
|
|
{relx, [
|
|
{release, {relay_server, "0.1.0"}, [
|
|
relay_server,
|
|
sasl
|
|
]},
|
|
|
|
{mode, dev},
|
|
|
|
%% automatically picked up if the files
|
|
%% exist but can be set manually, which
|
|
%% is required if the names aren't exactly
|
|
%% sys.config and vm.args
|
|
{sys_config, "./config/sys.config"},
|
|
{vm_args, "./config/vm.args"}
|
|
|
|
%% the .src form of the configuration files do
|
|
%% not require setting RELX_REPLACE_OS_VARS
|
|
%% {sys_config_src, "./config/sys.config.src"},
|
|
%% {vm_args_src, "./config/vm.args.src"}
|
|
]}.
|
|
|
|
{profiles, [
|
|
%% prod is the default mode when prod
|
|
%% profile is used, so does not have
|
|
%% to be explicitly included like this
|
|
{prod, [
|
|
{relx, [
|
|
{mode, prod}
|
|
|
|
%% use minimal mode to exclude ERTS
|
|
%% {mode, minimal}
|
|
]}
|
|
]}
|
|
]}.
|