2010-08-11 19:27:33 -07:00
|
|
|
%% edit eunit_test_path if you want to run your own tests, use "../" not "./" as
|
|
|
|
%% rebar changes to working dir to .eunit when running tests
|
2010-08-23 19:59:23 -07:00
|
|
|
{eunit_compile_opts, [{d, eunit_test_path, "../test/cases"}]}.
|
2010-08-07 18:08:31 -07:00
|
|
|
|
|
|
|
%% uncomment to get verbose output from test suite
|
2011-03-22 18:58:13 -07:00
|
|
|
%% {eunit_opts, [verbose]}.
|
2011-05-09 15:33:23 -03:00
|
|
|
|
2011-05-09 15:45:20 -03:00
|
|
|
{erl_opts, [{i, "src"}, {src_dirs, ["src"]},
|
|
|
|
warn_unused_vars,
|
|
|
|
warn_export_all,
|
|
|
|
warn_shadow_vars,
|
|
|
|
warn_unused_import,
|
|
|
|
warn_unused_function,
|
|
|
|
warn_bif_clash,
|
|
|
|
warn_unused_record,
|
|
|
|
warn_deprecated_function,
|
|
|
|
warn_obsolete_guard,
|
|
|
|
strict_validation,
|
|
|
|
warn_export_vars,
|
2011-08-03 00:46:33 -07:00
|
|
|
warn_exported_vars]}.
|
2011-05-09 15:45:20 -03:00
|
|
|
{dialyzer_opts, [{warnings, [unmatched_returns, error_handling, race_conditions, behaviours]}]}.
|
|
|
|
{xref_checks, [undefined_function_calls]}.
|
2011-07-27 02:00:35 -07:00
|
|
|
{cover_enabled, true}.
|
2012-03-04 17:01:04 -08:00
|
|
|
|
|
|
|
{deps, [
|
|
|
|
{'nicedecimal',
|
|
|
|
".*",
|
|
|
|
{git, "git://github.com/talentdeficit/nicedecimal.git"}
|
|
|
|
}
|
|
|
|
]}.
|