Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. PROJECT = emqttd
  2. PROJECT_DESCRIPTION = Erlang MQTT Broker
  3. PROJECT_VERSION = 2.1
  4. DEPS = gproc lager esockd mochiweb lager_syslog
  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_esockd = git https://github.com/emqtt/esockd master
  9. dep_mochiweb = git https://github.com/emqtt/mochiweb
  10. dep_lager_syslog = git https://github.com/basho/lager_syslog
  11. ERLC_OPTS += +'{parse_transform, lager_transform}'
  12. TEST_DEPS = cuttlefish emqttc
  13. dep_cuttlefish = git https://github.com/emqtt/cuttlefish
  14. dep_emqttc = git https://github.com/emqtt/emqttc
  15. NO_AUTOPATCH = cuttlefish
  16. TEST_ERLC_OPTS += +debug_info
  17. TEST_ERLC_OPTS += +'{parse_transform, lager_transform}'
  18. EUNIT_OPTS = verbose
  19. # EUNIT_ERL_OPTS =
  20. CT_SUITES = emqttd emqttd_access emqttd_lib emqttd_inflight emqttd_mod \
  21. emqttd_net emqttd_mqueue emqttd_protocol emqttd_topic \
  22. emqttd_trie emqttd_vm
  23. CT_OPTS = -cover test/ct.cover.spec -erl_args -name emqttd_ct@127.0.0.1
  24. COVER = true
  25. include erlang.mk
  26. app:: rebar.config
  27. app.config::
  28. cuttlefish -l info -e etc/ -c etc/emq.conf -i priv/emq.schema -d data/