Current section

Files

Jump to
kvs rebar.config
Raw

rebar.config

{erl_opts, [nowarn_unused_function,nowarn_duplicated_export]}.
{deps, [
% {rocksdb, "2.6.2"}
{rocksdb, ".*", {git, "https://github.com/emqx/erlang-rocksdb", {tag, "1.8.0-emqx-11"}}}
]}.
{plugins, [rebar3_hex]}.
{shell, [{config, "sys.config"}, {apps, [rocksdb,kvs]}]}.
{overrides, [
{add, rocksdb, [
{pre_hooks, [
{compile, "patch -N -p1 < ../../../../patches/rocksdb-snappy.patch || true"}
]}
]}
]}.
{ct_opts, [{sys_config, "sys.config"}]}.
{format, [
{files, ["src/*.erl", "test/*.erl"]},
{formatter, otp_formatter},
{options, #{ line_length => 108,
paper => 250,
spaces_around_fields => false,
inlining => all,
inline_clause_bodies => true,
inline_expressions => true,
inline_qualified_function_composition => true,
inline_simple_funs => true,
inline_items => all,
inline_fields => true,
inline_attributes => true
}}]}.