32 lines
901 B
Makefile
32 lines
901 B
Makefile
PROJECT = emqttd
|
|
PROJECT_DESCRIPTION = Erlang MQTT Broker
|
|
PROJECT_VERSION = 2.0
|
|
|
|
DEPS = gproc lager gen_logger gen_conf esockd mochiweb
|
|
|
|
dep_gproc = git https://github.com/uwiger/gproc
|
|
dep_lager = git https://github.com/basho/lager
|
|
dep_gen_conf = git https://github.com/emqtt/gen_conf
|
|
dep_gen_logger = git https://github.com/emqtt/gen_logger
|
|
dep_esockd = git https://github.com/emqtt/esockd emq20
|
|
dep_mochiweb = git https://github.com/emqtt/mochiweb
|
|
|
|
ERLC_OPTS += +'{parse_transform, lager_transform}'
|
|
|
|
TEST_ERLC_OPTS += +debug_info
|
|
TEST_ERLC_OPTS += +'{parse_transform, lager_transform}'
|
|
|
|
EUNIT_OPTS = verbose
|
|
# EUNIT_ERL_OPTS =
|
|
|
|
CT_SUITES = emqttd emqttd_access emqttd_lib emqttd_mod emqttd_net \
|
|
emqttd_mqueue emqttd_protocol emqttd_topic emqttd_trie
|
|
CT_OPTS = -cover test/ct.cover.spec -erl_args -name emqttd_ct@127.0.0.1
|
|
|
|
COVER = true
|
|
|
|
include erlang.mk
|
|
|
|
app:: rebar.config
|
|
|