2021-07-16 18:16:45 +08:00
|
|
|
PROJECT = shuwa_group
|
|
|
|
PROJECT_DESCRIPTION = shuwa_group Plugin
|
|
|
|
PROJECT_VERSION = 1.5.4
|
|
|
|
|
|
|
|
CUR_BRANCH := $(shell git branch | grep -e "^*" | cut -d' ' -f 2)
|
|
|
|
BRANCH := $(if $(filter $(CUR_BRANCH), master develop), $(CUR_BRANCH), develop)
|
|
|
|
|
|
|
|
BUILD_DEPS = emqx cuttlefish
|
|
|
|
dep_emqx = git-emqx https://github.com/emqx/emqx $(BRANCH)
|
|
|
|
dep_cuttlefish = git-emqx https://github.com/emqx/cuttlefish v2.2.1
|
|
|
|
|
|
|
|
DIALYZER_DIRS := ebin/
|
|
|
|
DIALYZER_OPTS := --verbose --statistics -Werror_handling \
|
|
|
|
-Wrace_conditions #-Wunmatched_returns
|
|
|
|
|
|
|
|
include erlang.mk
|
|
|
|
|
|
|
|
app.shuwa_group::
|
2021-07-19 10:59:37 +08:00
|
|
|
./deps/cuttlefish/cuttlefish -l info -e etc/ -c etc/dgiot_group.conf -i priv/dgiot_group.schema -d data
|