From 6a0b01fe7f45906a8b7dc37df4b6fa728c14b159 Mon Sep 17 00:00:00 2001 From: Stu Tomlinson Date: Mon, 8 Feb 2021 12:02:50 +0000 Subject: [PATCH] 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 --- rebar.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebar.config b/rebar.config index 83a121143..8e1ff32fa 100644 --- a/rebar.config +++ b/rebar.config @@ -108,8 +108,8 @@ {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_rebar3, sql}, {if_var_true, tools, tools}, {if_var_true, elixir, include}]}]}.