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.

40 lines
833 B

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. .PHONY: clean dialyzer_warnings xref_warnings deps test
  2. REBAR=$(PWD)/rebar3
  3. RETEST=$(PWD)/deps/retest/retest
  4. all:
  5. ./bootstrap/bootstrap
  6. clean:
  7. @rm -rf rebar3 ebin/*.beam inttest/rt.work rt.work .eunit
  8. @rm -f .rebarinfo
  9. distclean: clean
  10. @rm -f dialyzer_warnings
  11. @rm -rf deps
  12. debug:
  13. @./bootstrap/bootstrap debug
  14. check: debug xref dialyzer deps test
  15. xref:
  16. @./rebar3 xref
  17. dialyzer: dialyzer_warnings
  18. @diff -U0 dialyzer_reference dialyzer_warnings
  19. dialyzer_warnings:
  20. -@dialyzer -q -nn -n ebin -Wunmatched_returns -Werror_handling \
  21. -Wrace_conditions > dialyzer_warnings
  22. binary: VSN = $(shell ./rebar3 -V)
  23. binary: clean all
  24. @cp rebar3 ../rebar.wiki/rebar
  25. (cd ../rebar.wiki && git commit -m "Update $(VSN)" rebar)
  26. test:
  27. ct_run -pa deps/*/ebin -pa ebin -include include -logdir test/logs -dir test
  28. travis: all test