rebar.config 723 B

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