2012-06-19 17:30:08 +00:00
|
|
|
{require_otp_vsn, "R1[45]"}.
|
|
|
|
{cover_enabled, true}.
|
|
|
|
|
|
|
|
{clean_files, ["*.eunit", "ebin/*.beam"]}.
|
2012-06-20 13:04:05 +00:00
|
|
|
{eunit_opts, [verbose,
|
|
|
|
{report, {eunit_surefire, [{dir, "."},
|
|
|
|
{parse_transform, lager_transform}
|
|
|
|
]}}]}.
|
2012-06-19 17:30:08 +00:00
|
|
|
|
|
|
|
{deps, [ {edown, "0.3.*", {git, "git://github.com/esl/edown.git", {branch, "master"}}}
|
2012-06-20 13:04:05 +00:00
|
|
|
, {lager, ".*", {git, "git://github.com/basho/lager", {branch, "master"}}}
|
2012-06-19 17:30:08 +00:00
|
|
|
, {asciiedoc, "0.1.*", {git, "git://github.com/norton/asciiedoc.git", {branch, "master"}}}
|
|
|
|
, {triq, ".*", {git, "git://github.com/krestenkrab/triq.git", {branch, "master"}}}
|
|
|
|
]}.
|
|
|
|
|
|
|
|
{erl_opts, [%{d,'TRIQ',true}, %% define 'PROPER' instead if you must...
|
|
|
|
{parse_transform, lager_transform},
|
|
|
|
fail_on_warning,
|
|
|
|
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,
|
|
|
|
warn_exported_vars,
|
|
|
|
warn_missing_spec,
|
|
|
|
warn_untyped_record,
|
|
|
|
debug_info]}.
|
|
|
|
|
|
|
|
{xref_checks, [undefined_function_calls]}.
|