{pre_hooks, [{"(linux|darwin)", compile, "make nif_compile CPP_DRIVER_REV=2.17.1"}]}.
{post_hooks, [{"(linux|darwin)", clean, "make nif_clean"}]}.

{project_plugins, [rebar3_hex]}.

{deps, []}.

{erl_opts, [
    warnings_as_errors,
    warn_export_all
]}.

{profiles, [
    {bench, [
        {extra_src_dirs, ["benchmarks"]},
        {deps, [
            %{cqerl, "1.1.2"},
            {marina, ".*", {git, "https://github.com/lpgauth/marina.git", {tag, "0.3.5"}}}
        ]}
    ]},

    {test, [
        {erl_opts, [
            debug_info,
            nowarn_export_all
        ]},

        {ct_opts, [
            {sys_config, ["./test/sys.config"]}
        ]}
    ]}
]}.
