{pre_hooks, [{"(linux|darwin)", compile, "make compile"}]}.
{post_hooks, [{"(linux|darwin)", clean, "make clean"}]}.

{artifacts, ["priv/erlxml_nif.so"]}.

{project_plugins, [rebar3_hex]}.

{erl_opts, [
    warn_unused_vars,
    warn_shadow_vars,
    warn_unused_import,
    warn_unused_function,
    warn_bif_clash,
    warn_unused_record,
    warn_deprecated_function,
    warn_obsolete_guard,
    strict_validation,
    warn_export_vars,
    warn_exported_vars,
    warn_export_all,
    warnings_as_errors
]}.

{cover_enabled, false}.

{profiles, [
    {bench, [
        {src_dirs, ["src", "benchmark"]},
        {deps, [
            {fast_xml, ".*", {git, "https://github.com/processone/fast_xml.git", {tag, "1.1.55"}}},
            {exml, ".*", {git, "https://github.com/esl/exml.git", {tag, "3.4.1"}}}
        ]}
    ]}
]}.
