This way we avoid the cost of checking it on every command. When copying the .app file must be enough as we'd change the Erlang requirement only on new versions.
24 lines
624 B
Erlang
24 lines
624 B
Erlang
{erl_opts, [
|
|
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_exported_vars,
|
|
%% warn_export_vars,
|
|
%% warn_missing_spec,
|
|
%% warn_untyped_record,
|
|
%% warnings_as_errors,
|
|
debug_info
|
|
]}.
|
|
|
|
{yrl_opts, [
|
|
{report, true},
|
|
{verbose, false}
|
|
]}.
|