25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Add sections to rebar.config to organize its content

This commit is contained in:
Badlop 2023-06-06 17:36:06 +02:00
parent 0bbc255814
commit 19070e4b04

View File

@ -18,6 +18,10 @@
%%%
%%%----------------------------------------------------------------------
%%%
%%% Dependencies
%%%
{deps, [{base64url, ".*", {git, "https://github.com/dvv/base64url", {tag, "1.0.1"}}},
{cache_tab, ".*", {git, "https://github.com/processone/cache_tab", {tag, "1.0.30"}}},
{eimp, ".*", {git, "https://github.com/processone/eimp", {tag, "1.0.22"}}},
@ -101,6 +105,10 @@
xmpp,
yconf]}}.
%%%
%%% Compile
%%%
{erl_first_files, ["src/ejabberd_sql_pt.erl", "src/ejabberd_config.erl",
"src/gen_mod.erl", "src/mod_muc_room.erl",
"src/mod_push.erl", "src/xmpp_socket.erl"]}.
@ -149,6 +157,10 @@
{keep_build_info, true}.
%%%
%%% Test
%%%
{xref_warnings, false}.
{xref_checks, [deprecated_function_calls]}.
@ -184,6 +196,10 @@
{"fast_yaml", []},
{"stringprep", []}]}.
%%%
%%% OTP Release
%%%
{relx, [{release, {ejabberd, {cmd, "grep {vsn, vars.config | sed 's|{vsn, \"||;s|\"}.||' | tr -d '\012'"}},
[ejabberd]},
{sys_config, "./rel/sys.config"},