build: change 'make run' to use ./dev -p $(PROFILE)
This commit is contained in:
parent
dbcb75f35b
commit
e6b947c02b
4
Makefile
4
Makefile
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue