rebar.config 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {erl_opts, [
  2. debug_info,
  3. bin_opt_info,
  4. warn_bif_clash,
  5. warn_export_all,
  6. warn_obsolete_guard,
  7. warn_unused_import,
  8. warn_unused_record,
  9. warn_untyped_record,
  10. warn_shadow_vars,
  11. warn_unused_vars,
  12. warn_export_vars,
  13. warn_exported_vars,
  14. warn_unused_function,
  15. warn_deprecated_function,
  16. strict_validation
  17. %, warn_missing_spec
  18. ]}.
  19. {deps, [
  20. ]}.
  21. {profiles, [
  22. {dev, [
  23. {edoc_opts, [{doclet, edown_doclet}]},
  24. {deps, [
  25. {edown, "0.8.4"}
  26. ]},
  27. {erl_opts, [nowarn_export_all]}
  28. ]},
  29. {test, [
  30. {erl_opts, [nowarn_export_all]}
  31. ]
  32. }
  33. ]}.
  34. {eunit_opts, [{report, {eunit_progress, [colored, profile]}},
  35. {print_depth, 100}]}.
  36. {eunit_compile_opts, [export_all]}.
  37. {ct_opts, []}.
  38. {ct_compile_opts, [{i, "./include/"}]}.
  39. {cover_enabled, true}.
  40. {cover_print_enabled, true}.
  41. {xref_checks, [
  42. undefined_function_calls,
  43. undefined_functions,
  44. locals_not_used,
  45. %% exports_not_used,
  46. deprecated_function_calls,
  47. deprecated_functions
  48. ]}.