Makefile 1.2 KB

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