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.

44 rivejä
874 B

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