25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

Add sql dir to extra_src_dirs

When running ct under rebar3, add sql dir to extra_src_dirs so sql
scripts are available to run clear_sql_tables
This commit is contained in:
Stu Tomlinson 2020-09-25 18:45:41 +01:00
parent 714bc2d329
commit d9c1befbfc

View File

@ -106,6 +106,7 @@
{if_var_true, sip, {d, 'SIP'}},
{if_var_true, stun, {d, 'STUN'}},
{if_have_fun, {erl_error, format_exception, 6}, {d, 'HAVE_ERL_ERROR'}},
{if_rebar3, {extra_src_dirs, [sql]}},
{src_dirs, [src,
{if_var_true, tools, tools},
{if_var_true, elixir, include}]}]}.