{erl_opts, [debug_info, warnings_as_errors]}.

{deps, [
    {jiffy, "1.1.2"}       % JSON encoding/decoding (native CBOR implementation included)
]}.

{project_plugins, [rebar3_hex, rebar3_ex_doc]}.

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

{ex_doc, [
    {source_url, <<"https://github.com/BottleFmt/bottlerl">>},
    {extras, [<<"README.md">>, <<"LICENSE">>]},
    {main, <<"readme">>}
]}.

{dialyzer, [
    {warnings, [unknown]}
]}.

{xref_checks, [
    undefined_function_calls,
    undefined_functions,
    locals_not_used,
    deprecated_function_calls,
    deprecated_functions
]}.

{profiles, [
    {test, [
        {deps, [
            {proper, "1.4.0"}
        ]},
        {erl_opts, [debug_info]}
    ]}
]}.

{alias, [
    {check, [xref, dialyzer, eunit, ct]}
]}.
