Makefile 583 B

12345678910111213141516171819202122232425262728293031
  1. # See LICENSE for licensing information.
  2. PROJECT = cowboy
  3. # Options.
  4. COMPILE_FIRST = cowboy_middleware cowboy_sub_protocol
  5. CT_SUITES = eunit http spdy ws
  6. PLT_APPS = crypto public_key ssl
  7. # Dependencies.
  8. DEPS = cowlib ranch
  9. dep_cowlib = pkg://cowlib 0.4.0
  10. dep_ranch = pkg://ranch 0.8.5
  11. TEST_DEPS = ct_helper gun
  12. dep_ct_helper = https://github.com/extend/ct_helper.git master
  13. dep_gun = pkg://gun master
  14. # Standard targets.
  15. include erlang.mk
  16. # Extra targets.
  17. .PHONY: autobahn
  18. autobahn: clean clean-deps deps app build-tests
  19. @mkdir -p logs/
  20. @$(CT_RUN) -suite autobahn_SUITE