rebar.config

{cover_export_enabled, true}.

{erl_opts, [
  debug_info
]}.

{deps, [
  {foil, "0.1.3"},
  {metal, "0.1.1"},
  {telemetry, "1.2.1"}
]}.

{project_plugins, [rebar3_ex_doc]}.

{hex, [{doc, ex_doc}]}.

{ex_doc, [
  {source_url, <<"https://github.com/lpgauth/whitecap">>},
  {extras, [<<"README.md">>, <<"CHANGELOG.md">>, <<"LICENSE">>]},
  {main, <<"readme">>}
]}.

{profiles, [
  {compile, [
    {erl_opts, [
      warnings_as_errors,
      warn_export_all,
      warn_export_vars,
      warn_missing_spec,
      warn_obsolete_guard,
      warn_shadow_vars,
      warn_untyped_record,
      warn_unused_import,
      warn_unused_vars
    ]}
  ]},
  {edoc, [
    {deps, [
      {edown,
        {git, "https://github.com/uwiger/edown.git", {tag, "0.7"}}}
    ]},
    {edoc_opts, [
      {app_default, "http://www.erlang.org/doc/man"},
      {doclet, edown_doclet},
      {image, ""},
      {includes, ["include"]},
      {preprocess, true},
      {stylesheet, ""},
      {title, "whitecap"}
    ]}
  ]},
  {test, [
      {deps, [
      {buoy,
        {git, "https://github.com/lpgauth/buoy", {tag, "0.2.4"}}},
      {timing,
        {git, "https://github.com/lpgauth/timing.git", {branch, "master"}}},
      {fprofx,
        {git, "https://github.com/ransomr/fprofx.git", {branch, "master"}}}
    ]}
  ]}
]}.

{xref_checks, [
  deprecated_functions,
  deprecated_function_calls,
  locals_not_used,
  undefined_function_calls
]}.