Makefile 374 B

12345678910111213141516171819202122232425262728
  1. ## shallow clone for speed
  2. REBAR_GIT_CLONE_OPTIONS += --depth 1
  3. export REBAR_GIT_CLONE_OPTIONS
  4. REBAR = rebar3
  5. all: compile
  6. compile:
  7. $(REBAR) compile
  8. ct: compile
  9. $(REBAR) as test ct -v
  10. eunit: compile
  11. $(REBAR) as test eunit
  12. xref:
  13. $(REBAR) xref
  14. cover:
  15. $(REBAR) cover
  16. clean: distclean
  17. distclean:
  18. @rm -rf _build
  19. @rm -f data/app.*.config data/vm.*.args rebar.lock