Explorar o código

chore(Makefile): Add make run and make quickrun

Zaiming Shi %!s(int64=5) %!d(string=hai) anos
pai
achega
f363bea960
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      Makefile

+ 7 - 0
Makefile

@@ -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