-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathrebar.config
35 lines (27 loc) · 1.09 KB
/
rebar.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 ft=erlang et
%% Type spec dict() is deprecated in R17 to be removed in R18 in
%% preference for dict:dict(). But the fix is not compatible with <=
%% R16.
{erl_opts,
[{platform_define, "^[0-9]+", namespaced_types},
{platform_define, "^(19|[2-9])+", typed_records},
{platform_define, "^(R|1|20)", fun_stacktrace},
debug_info,
warnings_as_errors,
nowarn_export_all]}.
{erl_first_files, ["src/sqerl_client.erl"]}.
{deps, [
%% This is until a patch of ours gets merged into the main epgsql repo
{epgsql, ".*",
{git, "https://github.com/chef/epgsql-1.git", {branch, "master"}}},
{pooler, ".*",
{git, "https://github.com/chef/pooler.git", {branch, "master"}}},
{envy, ".*",
{git, "https://github.com/manderson26/envy.git", {branch, "master"}}}
]}.
{dev_only_deps, []}.
{cover_enabled, true}.
%% Common Test (ct) ============================================================
{ct_dir, "common_test"}.
{ct_log_dir, "common_test/logs"}.