{project_plugins, [rebar3_ex_doc]}.

{erl_opts, [debug_info]}.
{deps, []}.

{pre_hooks, [
    {"(linux)", compile, "make -C c_src"}
]}.

{post_hooks, [
    {"(linux)", clean, "make -C c_src clean"}
]}.

{shell, [
  % {config, "config/sys.config"},
    {apps, [spi]}
]}.

{ex_doc, [
    {extras, [
        {'README.md', #{title => <<"Overview">>}},
        {'LICENSE.md', #{title => <<"License">>}},
        {'NOTICE', #{title => <<"Copyright">>}}
    ]},
    {main, "README.md"},
    {source_url, "https://github.com/kopera/erlang-spi"}
]}.

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

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