mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-12-03 20:59:41 +08:00
18 lines
494 B
Makefile
18 lines
494 B
Makefile
PROJECT = dgiot_api
|
|
PROJECT_DESCRIPTION = dgiot_api
|
|
|
|
CUR_BRANCH := $(shell git branch | grep -e "^*" | cut -d' ' -f 2)
|
|
BRANCH := $(if $(filter $(CUR_BRANCH), master develop), $(CUR_BRANCH), develop)
|
|
|
|
BUILD_DEPS = cuttlefish
|
|
dep_cuttlefish = git-emqx https://github.com/emqx/cuttlefish v2.2.1
|
|
|
|
ERLC_OPTS += +'{parse_transform, lager_transform}'
|
|
|
|
COVER = true
|
|
|
|
include erlang.mk
|
|
|
|
app.config::
|
|
./deps/cuttlefish/cuttlefish -l info -e etc/ -c etc/dgiot_http.conf -i priv/dgiot_http.schema -d data
|