chore(Makefile): Add make run and make quickrun

This commit is contained in:
Zaiming Shi 2021-03-24 21:44:41 +01:00 committed by Zaiming (Stone) Shi
parent d4c6b6b926
commit f363bea960
1 changed files with 7 additions and 0 deletions

View File

@ -131,4 +131,11 @@ $1: $(subst -pkg,,$1)-zip $1-tar
endef
$(foreach pt,$(PKG_PROFILES),$(eval $(call gen-pkg-target,$(pt))))
.PHONY: run
run: $(PROFILE) quickrun
.PHONY: quickrun
quickrun:
./_build/$(PROFILE)/rel/emqx/bin/emqx console
include docker.mk