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

{erl_opts, [
            {platform_define, "^[0-9]+", namespaced_types},
            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}.

{eunit_opts, [
              no_tty,
              {report, {eunit_progress, [colored, profile]}}
             ]}.

{ct_opts, [{dir, "ct"}]}.

{sub_dirs, [
           ]}.

{profiles, [{test, [{deps,
                     [
                      {meck,             ".*", {git, "git://github.com/eproxus/meck.git",            {tag, "0.8.2"}}},
                      {eunit_formatters, ".*", {git, "git://github.com/seancribbs/eunit_formatters", {branch, "master"}}}
                     ]}
                   ]},
            {dev, [{deps,
                    [
                     {reloader, ".*", {git, "git://github.com/sile/reloader.git", {branch, "master"}}},
                     {edown,    ".*", {git, "git://github.com/dwango/edown.git",  {branch, "master"}}}
                    ]}
                  ]}
           ]}.
