diff options
author | Stu Tomlinson <stu@nosnilmot.com> | 2020-09-25 18:45:41 +0100 |
---|---|---|
committer | Stu Tomlinson <stu@nosnilmot.com> | 2020-09-25 18:45:41 +0100 |
commit | d9c1befbfcc240a87cb405b052426e5e127fd3bf (patch) | |
tree | 5670e761e7379c685f8dddf9eccb0224ff717d9c /rebar.config | |
parent | Miscellaneous rebar3 fixes (diff) |
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
Diffstat (limited to 'rebar.config')
-rw-r--r-- | rebar.config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rebar.config b/rebar.config index 512e45f6..e0058ade 100644 --- a/rebar.config +++ b/rebar.config @@ -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}]}]}. |