%% -*- erlang -*-
{deps,
 [
  {parse_trans, "3.4.1"},
  {hut, "1.3.0"},
  {setup, "2.1.0"}
 ]}.

{project_plugins, [rebar3_ex_doc]}.
{hex, [{doc, ex_doc}]}.
{ex_doc, [
          {source_url, "https://github.com/Feuerlabs/exometer_core"},
          {extras, ["README.md", "LICENSE"]},
          {main, ""}]}.

{profiles,
 [
  {test, [{deps, [{meck, "0.9.2"}]},
          {extra_src_dirs, [{"test", [{recursive, true}]}]}
         ]},
  {edown, [{deps, [{edown, "0.9.1"}]},
           {edoc_opts,
            [
             {doclet, edown_doclet},
             {app_default, "http://www.erlang.org/doc/man"},
             {doc_path, []},
             {branch, "master"},
             {top_level_readme,
              {"./README.md",
               "https://github.com/Feuerlabs/exometer_core", "master"}}
            ]}
          ]}
 ]}.

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

{sub_dirs, ["src"]}.

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

{cover_enabled, true}.
{cover_print_enabled, true}.

{clean_files, ["test/app1/ebin/*.beam"]}.
