rebar.config 757 B

123456789101112131415161718192021222324252627282930313233
  1. %% -*- mode: erlang -*-
  2. {deps, [
  3. {emqx, {path, "../emqx"}},
  4. {emqx_utils, {path, "../emqx_utils"}},
  5. {emqx_auth, {path, "../emqx_auth"}},
  6. {emqx_resource, {path, "../emqx_resource"}},
  7. {prometheus, {git, "https://github.com/emqx/prometheus.erl", {tag, "v4.10.0.2"}}}
  8. ]}.
  9. {edoc_opts, [{preprocess, true}]}.
  10. {erl_opts, [
  11. warn_unused_vars,
  12. warn_shadow_vars,
  13. warn_unused_import,
  14. warn_obsolete_guard,
  15. debug_info,
  16. {parse_transform}
  17. ]}.
  18. {xref_checks, [
  19. undefined_function_calls,
  20. undefined_functions,
  21. locals_not_used,
  22. deprecated_function_calls,
  23. warnings_as_errors,
  24. deprecated_functions
  25. ]}.
  26. {cover_enabled, true}.
  27. {cover_opts, [verbose]}.
  28. {cover_export_enabled, true}.
  29. {project_plugins, [erlfmt]}.