rebar.config

{cover_export_enabled, true}.
{cover_excl_mods, [
  marina_profile,
  marina_tests
]}.

{deps, [
  {foil, "0.1.4"},
  {lz4_nif, "0.1.1"},
  {murmur_nif, "0.1.0"},
  {shackle, "0.7.1"}
]}.

{dialyzer, [{plt_extra_apps, [public_key]}]}.

{ex_doc, [
  {api_reference, true},
  {extras, ["README.md", "CHANGELOG.md", "LICENSE"]},
  {main, "readme"},
  {prefix_ref_vsn_with_v, false},
  {source_url, "https://github.com/lpgauth/marina"}
]}.

{erl_opts, [
  debug_info
]}.

{plugins, [rebar3_hex, rebar3_ex_doc]}.

{hex, [{doc, #{provider => ex_doc}}]}.

{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
    ]}
  ]},
  {test, [
    {deps, [
      {fprofx,
        {git, "https://github.com/lpgauth/fprofx.git", {branch, "otp_19"}}}
    ]}
  ]}
]}.

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