rebar.config 696 B

12345678910111213141516171819202122232425262728293031323334353637
  1. %% -*- mode: erlang -*-
  2. {deps, [
  3. {emqx, {path, "../emqx"}},
  4. {emqx_utils, {path, "../emqx_utils"}}
  5. ]}.
  6. {erl_opts, [
  7. warn_unused_vars,
  8. warn_shadow_vars,
  9. warn_unused_import,
  10. warn_obsolete_guard,
  11. no_debug_info,
  12. compressed,
  13. {parse_transform}
  14. ]}.
  15. {overrides, [{add, [{erl_opts, [no_debug_info, compressed]}]}]}.
  16. {edoc_opts, [{preprocess, true}]}.
  17. {xref_checks, [
  18. undefined_function_calls,
  19. undefined_functions,
  20. locals_not_used,
  21. deprecated_function_calls,
  22. warnings_as_errors,
  23. deprecated_functions
  24. ]}.
  25. {cover_enabled, true}.
  26. {cover_opts, [verbose]}.
  27. {cover_export_enabled, true}.
  28. {plugins, [rebar3_proper]}.
  29. {project_plugins, [erlfmt]}.