rebar.config 643 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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},
  38. {stylesheet, "style.css"},
  39. {pretty_printer, erl_pp}
  40. ]}.