{deps, []}.

{erl_opts, [
    debug_info,
    {platform_define, "^24", 'OTP_24_AND_LATER'}
]}.

{project_plugins, [
    erlfmt,
    rebar3_ex_doc
]}.

{erlfmt, [
    write,
    {print_width, 80},
    {files, [
        "rebar.config",
        "{src,include,test}/*.{hrl,erl,app.src}"
    ]}
]}.

{profiles, [
    {test, [
        {deps, [
            {unite, "0.3.1"}
        ]},
        {eunit_opts, [no_tty, {report, {unite_compact, []}}]}
    ]}
]}.

{ex_doc, [
    {source_url, <<"https://github.com/eproxus/mapz">>},
    {extras, [
        {'README.md', #{title => <<"Overview">>}},
        {'CHANGELOG.md', #{title => <<"Changelog">>}},
        {'LICENSE.md', #{title => <<"License">>}}
    ]},
    {main, <<"readme">>}
]}.

{hex, [{doc, ex_doc}]}.
