Current section

Files

Jump to
epgsql rebar.config
Raw

rebar.config

{erl_opts, [{platform_define, "^[0-9]+", have_maps},
{platform_define, "^(1[89])|^([2-9][0-9])", 'FAST_MAPS'}]}. % Erlang >=18
{eunit_opts, [verbose]}.
{cover_enabled, true}.
{cover_print_enabled, true}.
{profiles, [
{test, [
{deps, [
{erlexec, {git, "https://github.com/saleyn/erlexec.git", {ref, "576fb5d"}}}
]}
]},
{lint, [
{plugins, [rebar3_lint]}
]}
]}.
{ct_opts, [
{ct_hooks, [epgsql_cth]}
]}.
%% See rebar.config.script
%% {elvis,
%% [#{dirs => ["src", "src/*"],
%% include_dirs => ["include"],
%% filter => "*.erl",
%% ruleset => erl_files,
%% rules =>
%% [{elvis_style, line_length, #{limit => 120}},
%% {elvis_style, god_modules, #{limit => 40}},
%% {elvis_style, state_record_and_type, disable} % epgsql_sock
%% ]}
%% ]
%% }.