rebar.config 886 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. %% -*- erlang -*-
  2. {require_min_otp_vsn, "OTP17"}.
  3. {erl_opts, [
  4. warnings_as_errors,
  5. warn_export_all,
  6. warn_untyped_record,
  7. inline
  8. ]}.
  9. {xref_checks, [
  10. fail_on_warning,
  11. undefined_function_calls
  12. ]}.
  13. {clean_files, [".eunit/*", "ebin/*.beam"]}.
  14. {cover_enabled, true}.
  15. {edoc_opts, [
  16. {doclet, edown_doclet},
  17. {dialyzer_specs, all},
  18. {report_missing_type, true},
  19. {report_type_mismatch, true},
  20. {pretty_print, erl_pp},
  21. {preprocess, true}
  22. ]}.
  23. {validate_app_modules, true}.
  24. {dialyzer,
  25. [
  26. {warnings, [error_handling, race_conditions, unmatched_returns]}
  27. ]}.
  28. {profiles,
  29. [
  30. {doc,
  31. [
  32. {deps,
  33. [
  34. {edown, {git, "git://github.com/uwiger/edown.git", {branch, "master"}}}
  35. ]}
  36. ]}
  37. ]}.