Makefile 407 B

1234567891011121314151617181920212223242526
  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. cp -r _build/default/lib/emqx_mini_plugin/ebin ./
  9. clean: distclean
  10. ct: compile
  11. $(REBAR) as test ct -v
  12. eunit: compile
  13. $(REBAR) as test eunit
  14. xref:
  15. $(REBAR) xref
  16. distclean:
  17. @rm -rf _build
  18. @rm -f ebin/ data/app.*.config data/vm.*.args rebar.lock