rebar.config 703 B

12345678910111213141516171819202122232425262728293031
  1. %% -*- mode: erlang -*-
  2. {deps, [
  3. {emqx, {path, "../emqx"}},
  4. {emqx_utils, {path, "../emqx_utils"}},
  5. {emqx_bridge_http, {path, "../emqx_bridge_http"}}
  6. ]}.
  7. {edoc_opts, [{preprocess, true}]}.
  8. {erl_opts, [
  9. warn_unused_vars,
  10. warn_shadow_vars,
  11. warn_unused_import,
  12. warn_obsolete_guard,
  13. debug_info,
  14. {d, 'APPLICATION', emqx}
  15. ]}.
  16. {xref_checks, [
  17. undefined_function_calls,
  18. undefined_functions,
  19. locals_not_used,
  20. deprecated_function_calls,
  21. warnings_as_errors,
  22. deprecated_functions
  23. ]}.
  24. {cover_enabled, true}.
  25. {cover_opts, [verbose]}.
  26. {cover_export_enabled, true}.
  27. {eunit_first_files, ["test/emqx_swagger_remote_schema.erl"]}.
  28. {project_plugins, [erlfmt]}.