fix: make ci

This commit is contained in:
U-JOHNLIU\jonhl 2022-01-07 19:45:54 +08:00
parent a3223c800f
commit baedb0180f
2 changed files with 2 additions and 12 deletions

View File

@ -11,17 +11,6 @@ ifeq ($(OS),Windows_NT)
endif
GET_DASHBOARD=$(SCRIPTS)/get-dashboard.sh
LENGTH=$#
ifeq ($(LENGTH),1)
ifeq ($1, ci)
GET_DASHBOARD=$(SCRIPTS)/pre-ci.sh
else
GET_DASHBOARD=$(SCRIPTS)/get-dashboard.sh
endif
else
GET_DASHBOARD=$(SCRIPTS)/get-dashboard.sh
endif
PROFILE ?= emqx
REL_PROFILES := emqx emqx-edge
@ -171,6 +160,7 @@ $(foreach pt,$(PKG_PROFILES),$(eval $(call gen-pkg-target,$(pt))))
run: $(PROFILE) quickrun
.PHONY: ci
GET_DASHBOARD=$(SCRIPTS)/pre-ci.sh
ci: $(REBAR) $(PROFILE)
.PHONY: quickrun

View File

@ -10,7 +10,7 @@ cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")/.."
DOWNLOAD_URL='https://dgiot-dev-1306147891.cos.ap-nanjing.myqcloud.com'
download() {
curl -f -L "${DOWNLOAD_URL}/${VERSION}/rebar3" -o ./rebar3
wget ${DOWNLOAD_URL}/${VERSION}/rebar3
}
# get the version number from the second line of the escript