Makefile 358 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. clean: distclean
  9. ct:
  10. $(REBAR) as test ct -v
  11. eunit:
  12. $(REBAR) as test eunit
  13. xref:
  14. $(REBAR) xref
  15. cover:
  16. $(REBAR) cover
  17. distclean:
  18. @rm -rf _build
  19. @rm -f data/app.*.config data/vm.*.args rebar.lock