You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
528 B

  1. .PHONY: dialyzer_warnings xref_warnings
  2. all:
  3. ./bootstrap
  4. clean:
  5. @rm -rf rebar ebin/*.beam inttest/rt.work
  6. debug:
  7. @./bootstrap debug
  8. check: debug xref dialyzer
  9. xref:
  10. @./rebar xref
  11. dialyzer: dialyzer_warnings
  12. @diff -U0 dialyzer_reference dialyzer_warnings
  13. dialyzer_warnings:
  14. -@dialyzer -q -n ebin -Wunmatched_returns -Werror_handling \
  15. -Wrace_conditions > dialyzer_warnings
  16. binary: VSN = $(shell ./rebar -V)
  17. binary: clean all
  18. cp rebar ../rebar.wiki/rebar
  19. (cd ../rebar.wiki && git commit -m "Update $(VSN)" rebar)