%% -*- mode: erlang -*-

{require_min_otp_vsn, "22"}.

{erl_opts, [
  debug_info,
  warn_format,
  warn_export_vars,
  warn_obsolete_guard,
  warn_bif_clash,

  %% OTP version specific defines
  {platform_define, "^(22|23)", crypto_block}
]}.

{plugins, [rebar3_proper]}.

{deps, [
        {zotonic_stdlib, "1.4.0"}
]}.

{xref_checks, [undefined_function_calls,
               locals_not_used]}.

{profiles,
 [{test, [
	  {erl_opts, [nowarn_export_all]},
	  {deps, [proper, recon]}
	 ]}
 ]}.
