38 lines
1.1 KiB
Erlang
38 lines
1.1 KiB
Erlang
{erl_opts, [debug_info]}.
|
|
|
|
{project_app_dirs, ["apps/*"]}.
|
|
|
|
{plugins, [
|
|
{rebar3_gpb_plugin, ".*", {git, "https://github.com/lrascao/rebar3_gpb_plugin.git", {tag, "2.23.8"}}}
|
|
]}.
|
|
|
|
{deps, [
|
|
{sync, ".*", {git, "https://github.com/rustyio/sync.git", {branch, "master"}}},
|
|
{cowboy, ".*", {git, "https://github.com/ninenines/cowboy.git", {tag, "2.10.0"}}},
|
|
{gun, ".*", {git, "https://github.com/ninenines/gun.git", {tag, "2.2.0"}}}
|
|
]}.
|
|
|
|
{relx, [{release, {efka, "0.1.0"},
|
|
[efka,
|
|
sasl]},
|
|
|
|
{mode, prod},
|
|
{include_erts, true},
|
|
|
|
{sys_config_src, "./config/sys.config.src"},
|
|
{vm_args_src, "./config/vm.args.src"}
|
|
]}.
|
|
|
|
{profiles, [{prod, [{relx,
|
|
[%% prod is the default mode when prod
|
|
%% profile is used, so does not have
|
|
%% to be explicitly included like this
|
|
{mode, prod}
|
|
|
|
%% use minimal mode to exclude ERTS
|
|
%% {mode, minimal}
|
|
]
|
|
}]}]}.
|
|
|
|
{rebar_packages_cdn, "https://hexpm.upyun.com"}.
|