summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStu Tomlinson <stu@nosnilmot.com>2021-02-08 12:02:50 +0000
committerGitHub <noreply@github.com>2021-02-08 13:02:50 +0100
commit6a0b01fe7f45906a8b7dc37df4b6fa728c14b159 (patch)
tree8012f226f4b84848693866b7a0f981612225c5ce
parentFix PONG responses (#3515) (diff)
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
-rw-r--r--rebar.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/rebar.config b/rebar.config
index 83a12114..8e1ff32f 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}]}]}.