mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-12-01 19:58:46 +08:00
fix: make ci
This commit is contained in:
parent
a3223c800f
commit
baedb0180f
12
Makefile
12
Makefile
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user