%-*-Erlang-*-
{erl_opts, [debug_info]}.

{edoc_opts, [{preprocess, true}]}.

{deps, [
	{cut, "1.0.3"}
]}.

{minimum_otp_vsn, "24.0"}.
{plugins, [rebar3_hex]}.

{profiles, [
	    {test,
	     [{deps,
	       [{proper, "1.3.0"}]},
	      {plugins, [{coveralls, {git, "https://github.com/RoadRunnr/coveralls-erl.git", {branch, "feature/git-info"}}}]}
	     ]},
	    {pcap,
	     [{deps,
	       [{flower, {git, "git://github.com/travelping/flower.git",
			  {branch, "master"}}},
		{pcapng, {git, "git://github.com/travelping/pcapng.git",
			  {branch, "master"}}},
		{proper, "1.3.0"}]},
	      {plugins, [{coveralls, {git, "https://github.com/RoadRunnr/coveralls-erl.git", {branch, "feature/git-info"}}}]}
	     ]}
	   ]}.

%% xref checks to run
{xref_checks, [undefined_function_calls, undefined_functions,
	       locals_not_used, deprecated_function_calls,
	       deprecated_funcqtions]}.

{cover_enabled, true}.
{cover_export_enabled, true}.
{do_coveralls_after_ct, false}.
{do_coveralls_after_eunit, false}.
{coveralls_coverdata, "_build/test/cover/ct.coverdata"}.
{coveralls_service_name, "github"}.
{coveralls_parallel, true}.
