rebar.config 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. %% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
  2. %% ex: ts=4 sw=4 ft=erlang et
  3. {require_min_otp_vsn, "R17"}.
  4. %% fail_on_warning,
  5. {erl_opts, [debug_info, {parse_transform, lager_transform}]}.
  6. {erl_opts, [warn_export_all,
  7. warn_unused_import,
  8. {i, "include"},
  9. {src_dirs, ["src"]}]}.
  10. {eunit_opts, [verbose]}.
  11. {xref_checks, [undefined_function_calls]}.
  12. {cover_enabled, true}.
  13. {validate_app_modules, true}.
  14. %% plugins cannot find emqttd.hrl without ".." lib dirs:(
  15. %% but this setting will make deps apps collision
  16. %% comment in 0.13.0 release
  17. %% {lib_dirs, ["../"]}.
  18. {sub_dirs, [
  19. "rel",
  20. "plugins/*/"]}.
  21. {deps, [
  22. {gproc, ".*", {git, "git://github.com/uwiger/gproc.git", {branch, "master"}}},
  23. {lager, ".*", {git, "git://github.com/basho/lager.git", {branch, "master"}}},
  24. {esockd, "3.*", {git, "git://github.com/emqtt/esockd.git", {branch, "master"}}},
  25. {mochiweb, "4.*", {git, "git://github.com/emqtt/mochiweb.git", {branch, "master"}}}
  26. ]}.
  27. {recursive_cmds, [ct, eunit, clean]}.