%% vim: set filetype=erlang : -*- erlang -*-

{erl_opts, [
            warnings_as_errors,
            warn_export_all,
            warn_untyped_record
           ]}.

{xref_checks, [
               fail_on_warning,
               undefined_function_calls
              ]}.

{cover_enabled, true}.

{edoc_opts, [
             {doclet, edown_doclet},
             {dialyzer_specs, all},
             {report_missing_type, true},
             {report_type_mismatch, true},
             {pretty_print, erl_pp},
             {preprocess, true}
            ]}.
{validate_app_modules, true}.

{escript_name, erlup}.
{escript_incl_apps, [rebar]}.

{profiles,
 [{escript,
   [
    {deps,      [{rebar, {git, "git://github.com/erlang/rebar3", {tag, "3.1.0"}}}]},
    {erl_opts,  [no_debug_info]},
    {overrides, [{add, [{erl_opts, [no_debug_info]}]}]}
   ]},
  {test,
   [
    {erl_opts,  [export_all]}
   ]}
 ]}.
