{cover_enabled, true}.
{deps, []}.
{minimum_otp_vsn, "24.0"}.

{xref_checks, [
    %% enable most checks, but avoid 'unused calls' which is often
    %% very verbose
    undefined_function_calls,
    undefined_functions,
    locals_not_used,
    deprecated_function_calls,
    deprecated_functions
]}.

{dialyzer, [
    {warnings, [
        %% Warn about undefined types and unknown functions
        unknown
    ]}
]}.

{profiles, [
    {prod, [
        {erl_opts, [no_debug_info, warnings_as_errors]}
    ]},
    {test, [
        {deps, [{proper, "1.3.0"}]},
        {erl_opts, [debug_info, nowarn_export_all]}
    ]}
]}.

{plugins, [rebar3_proper]}.

{project_plugins, [rebar3_ex_doc, rebar3_hex, erlfmt]}.

{ex_doc, [
    {extras, ["README.md", "LICENSE", "CHANGELOG.md"]},
    {main, <<"hyper">>},
    {source_url, "https://github.com/LivewareProblems/hyper"}
]}.

{hex, [
    {doc, #{provider => ex_doc}}
]}.
