rebar.config 871 B

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