build: change 'make run' to use ./dev -p $(PROFILE)

This commit is contained in:
Zaiming (Stone) Shi 2023-05-01 22:51:03 +02:00
parent dbcb75f35b
commit e6b947c02b
1 changed files with 2 additions and 2 deletions

View File

@ -228,11 +228,11 @@ endef
$(foreach pt,$(PKG_PROFILES),$(eval $(call gen-pkg-target,$(pt)))) $(foreach pt,$(PKG_PROFILES),$(eval $(call gen-pkg-target,$(pt))))
.PHONY: run .PHONY: run
run: $(PROFILE) quickrun run: compile-$(PROFILE) quickrun
.PHONY: quickrun .PHONY: quickrun
quickrun: quickrun:
./_build/$(PROFILE)/rel/emqx/bin/emqx console ./dev -p $(PROFILE)
## Take the currently set PROFILE ## Take the currently set PROFILE
docker: docker: