rebar.config 893 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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, unmatched_returns]},
  27. {get_warnings, true}
  28. ]}.
  29. {profiles,
  30. [
  31. {doc,
  32. [
  33. {deps,
  34. [
  35. {edown, {git, "git://github.com/uwiger/edown.git", {branch, "master"}}}
  36. ]}
  37. ]}
  38. ]}.