mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Move sql directory from extra_src_dirs to src_dirs (#3520)
rebar3 needs sql directory as a src dir so that tests can reference sql
files, so sql dir was added to extra_src_dirs in d9c1befb
. It turns out
extra_src_dirs does unexpected unwanted extra things like copy all beam
files there too, so move sql dir to regular src_dirs
This commit is contained in:
parent
2d79a69719
commit
6a0b01fe7f
@ -108,8 +108,8 @@
|
|||||||
{if_var_true, sip, {d, 'SIP'}},
|
{if_var_true, sip, {d, 'SIP'}},
|
||||||
{if_var_true, stun, {d, 'STUN'}},
|
{if_var_true, stun, {d, 'STUN'}},
|
||||||
{if_have_fun, {erl_error, format_exception, 6}, {d, 'HAVE_ERL_ERROR'}},
|
{if_have_fun, {erl_error, format_exception, 6}, {d, 'HAVE_ERL_ERROR'}},
|
||||||
{if_rebar3, {extra_src_dirs, [sql]}},
|
|
||||||
{src_dirs, [src,
|
{src_dirs, [src,
|
||||||
|
{if_rebar3, sql},
|
||||||
{if_var_true, tools, tools},
|
{if_var_true, tools, tools},
|
||||||
{if_var_true, elixir, include}]}]}.
|
{if_var_true, elixir, include}]}]}.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user