dgiot/apps/dgiot_license/Makefile
2021-06-11 11:01:36 +09:00

23 lines
624 B
Makefile

PROJECT = dgiot_license
PROJECT_DESCRIPTION = dgiot_license 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
ERLC_OPTS += +'{parse_transform, lager_transform}'
COVER = true
include erlang.mk
app:: rebar.config
app.config::
./deps/cuttlefish/cuttlefish -l info -e etc/ -c etc/dgiot_license.conf -i priv/dgiot_license.schema -d data