Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # See LICENSE for licensing information.
  2. PROJECT = ranch
  3. PROJECT_DESCRIPTION = Socket acceptor pool for TCP protocols.
  4. PROJECT_VERSION = 1.4.0
  5. PROJECT_REGISTERED = ranch_server
  6. # Options.
  7. CT_OPTS += -pa test -ct_hooks ranch_ct_hook []
  8. PLT_APPS = crypto public_key ssl
  9. # Dependencies.
  10. LOCAL_DEPS = ssl
  11. DOC_DEPS = asciideck
  12. TEST_DEPS = ci.erlang.mk ct_helper
  13. dep_ct_helper = git https://github.com/ninenines/ct_helper master
  14. # CI configuration.
  15. dep_ci.erlang.mk = git https://github.com/ninenines/ci.erlang.mk master
  16. DEP_EARLY_PLUGINS = ci.erlang.mk
  17. AUTO_CI_OTP ?= OTP-18+
  18. AUTO_CI_HIPE ?= OTP-LATEST
  19. # AUTO_CI_ERLLVM ?= OTP-LATEST
  20. # Standard targets.
  21. include erlang.mk
  22. # Dialyze the tests.
  23. DIALYZER_OPTS += --src -r test
  24. # Use erl_make_certs from the tested release during CI.
  25. #
  26. # Note that erl_make_certs was removed from OTP-20.1. For now
  27. # we are fine using the most recent version from OTP-20.
  28. ci-setup:: $(DEPS_DIR)/ct_helper
  29. $(gen_verbose) cp ~/.kerl/builds/$(CI_OTP_RELEASE)/otp_src_git/lib/ssl/test/erl_make_certs.erl deps/ct_helper/src/ || true