{erl_opts, [
  {platform_define, "^((1[8|9])|2)", rand_module}
]}.

{plugins, [pc]}.

{artifacts, ["priv/jch_nif.so"]}.
{provider_hooks,
 [{post, [{compile, {pc, compile}},
          {clean, {pc, clean}}]}]}.

{port_specs, [{"priv/jch_nif.so", ["c_src/jch_nif.c","c_src/jch.c"]}]}.

{profiles,
 [{perf, [{deps, [{cake,     ".*", {git, "https://github.com/darach/cake-erl.git", {tag, "v0.1.4"}}},
                  {recon, ".*", {git, "https://github.com/ferd/recon.git", {tag, "2.2.0"}}}]},
          {extra_src_dirs, ["perf"]}]}
 ]}.
