rebar.config 613 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. %%
  2. %% rebar configuration file (https://github.com/rebar/rebar)
  3. %%
  4. {require_min_otp_vsn, "21"}.
  5. {erl_opts, [
  6. debug_info,
  7. fail_on_warning
  8. ]
  9. }.
  10. {profiles, [
  11. {test, [
  12. {xref_checks, [
  13. undefined_function_calls,
  14. locals_not_used,
  15. deprecated_function_calls
  16. ]},
  17. {xref_ignores, [
  18. ]}
  19. ]},
  20. {edoc_private, [
  21. {edoc_opts, [
  22. {private, true}
  23. ]}
  24. ]},
  25. {check, [
  26. {dialyzer, [
  27. {warnings, [
  28. no_return
  29. ]}
  30. ]},
  31. {erl_opts, [
  32. debug_info
  33. ]}
  34. ]}
  35. ]}.
  36. {edoc_opts, [
  37. {preprocess, true}, {stylesheet, "style.css"}
  38. ]}.