diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..678b670 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +ebin/ +deps/ +*.orig diff --git a/rebar.config b/rebar.config index 72fd678..2c26a72 100644 --- a/rebar.config +++ b/rebar.config @@ -4,3 +4,20 @@ %% uncomment to get verbose output from test suite %% {eunit_opts, [verbose]}. + +{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, + warn_exported_vars, + debug_info]}. +{dialyzer_opts, [{warnings, [unmatched_returns, error_handling, race_conditions, behaviours]}]}. +{xref_checks, [undefined_function_calls]}.