Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. PROJECT = emqttd
  2. PROJECT_DESCRIPTION = Erlang MQTT Broker
  3. PROJECT_VERSION = 2.0.2
  4. DEPS = gproc lager gen_logger esockd mochiweb
  5. dep_gproc = git https://github.com/uwiger/gproc
  6. dep_getopt = git https://github.com/jcomellas/getopt v0.8.2
  7. dep_lager = git https://github.com/basho/lager master
  8. dep_gen_logger = git https://github.com/emqtt/gen_logger
  9. dep_esockd = git https://github.com/emqtt/esockd master
  10. dep_mochiweb = git https://github.com/emqtt/mochiweb
  11. TEST_DEPS = cuttlefish
  12. dep_cuttlefish = git https://github.com/emqtt/cuttlefish
  13. ERLC_OPTS += +'{parse_transform, lager_transform}'
  14. TEST_ERLC_OPTS += +debug_info
  15. TEST_ERLC_OPTS += +'{parse_transform, lager_transform}'
  16. EUNIT_OPTS = verbose
  17. # EUNIT_ERL_OPTS =
  18. CT_SUITES = emqttd emqttd_access emqttd_lib emqttd_mod emqttd_net \
  19. emqttd_mqueue emqttd_protocol emqttd_topic emqttd_trie \
  20. emqttd_vm
  21. CT_OPTS = -cover test/ct.cover.spec -erl_args -name emqttd_ct@127.0.0.1
  22. COVER = true
  23. include erlang.mk
  24. app:: rebar.config
  25. app.config::
  26. cuttlefish -l info -e etc/ -c etc/emq.conf -i priv/emq.schema -d data/