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.

43 line
797 B

10 年之前
10 年之前
10 年之前
10 年之前
10 年之前
10 年之前
  1. .PHONY: clean xref_warnings deps test
  2. REBAR=$(PWD)/rebar3
  3. RETEST=$(PWD)/deps/retest/retest
  4. DEPS_PLT=$(CURDIR)/.depsolver_plt
  5. all:
  6. ./bootstrap/bootstrap
  7. clean:
  8. @rm -rf rebar3 ebin/*.beam inttest/rt.work rt.work .eunit
  9. @rm -f .rebarinfo
  10. distclean: clean
  11. @rm -rf deps
  12. debug:
  13. @./bootstrap/bootstrap debug
  14. check: debug xref deps test
  15. xref:
  16. @./rebar3 xref
  17. $(DEPS_PLT):
  18. @echo Building local erts plt at $(DEPS_PLT)
  19. @echo
  20. dialyzer --output_plt $(DEPS_PLT) --build_plt \
  21. --apps erts kernel stdlib -r deps
  22. dialyzer: $(DEPS_PLT)
  23. dialyzer --fullpath --plt $(DEPS_PLT) -Wno_opaque -Wrace_conditions -r ./ebin
  24. binary: VSN = $(shell ./rebar3 -V)
  25. binary: clean all
  26. @cp rebar3 ../rebar.wiki/rebar
  27. (cd ../rebar.wiki && git commit -m "Update $(VSN)" rebar)
  28. test:
  29. rebar ct
  30. travis: all test