Packages

Trigram substring and regex index over barrel_docdb documents

Current section

Files

Jump to
barrel_ngram rebar.config
Raw

rebar.config

{erl_opts, [
debug_info,
warnings_as_errors,
warn_unused_vars,
warn_export_all
]}.
{deps, [
%% Sibling app in the umbrella (isolated builds resolve it through
%% _checkouts, see the CI leaf job).
{barrel_docdb, "~> 1.1"}
]}.
%% CMake-based NIF build (vendored CRoaring, for the roaring posting codec)
{pre_hooks, [
{"(linux|darwin)", compile, "./do_cmake.sh"},
{"(linux|darwin)", clean, "rm -rf _build/cmake priv/barrel_ngram_nif.so"}
]}.
{post_hooks, [
{"(linux|darwin)", compile, "cmake --build _build/cmake --parallel"}
]}.
{project_plugins, [
rebar3_hex,
rebar3_ex_doc
]}.
{eunit_opts, [verbose]}.
{cover_enabled, true}.
{ct_opts, [{verbose, true}]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{dialyzer, [
{warnings, [
unmatched_returns,
error_handling,
no_return,
no_unknown
]}
]}.
{hex, [{doc, ex_doc}]}.
{ex_doc, [
{source_url, <<"https://github.com/barrel-db/barrel">>},
{homepage_url, <<"https://barrel-db.eu">>},
{logo, "assets/logo.png"},
{extras, [
<<"README.md">>,
<<"docs/getting-started.md">>,
<<"docs/selectors.md">>,
<<"docs/regex.md">>,
<<"docs/sharding.md">>,
<<"docs/operations.md">>,
<<"docs/mcp.md">>,
<<"docs/design.md">>,
<<"CHANGELOG.md">>,
<<"LICENSE">>
]},
{main, <<"readme">>},
{api_reference, true},
{groups_for_extras, [
{<<"Getting Started">>, [<<"docs/getting-started.md">>]},
{<<"Guides">>, [
<<"docs/selectors.md">>,
<<"docs/regex.md">>,
<<"docs/sharding.md">>,
<<"docs/operations.md">>,
<<"docs/mcp.md">>
]},
{<<"Architecture">>, [<<"docs/design.md">>]},
{<<"About">>, [<<"CHANGELOG.md">>, <<"LICENSE">>]}
]},
{skip_undefined_reference_warnings_on, [<<".*">>]}
]}.
{profiles, [
{test, [
{deps, [
{meck, "1.2.0"}
]}
]},
{strict, [
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
exports_not_used,
deprecated_function_calls,
deprecated_functions
]}
]}
]}.