Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # See LICENSE for licensing information.
  2. PROJECT = cowboy
  3. PROJECT_DESCRIPTION = Small, fast, modern HTTP server.
  4. PROJECT_VERSION = 2.2.0
  5. PROJECT_REGISTERED = cowboy_clock
  6. # Options.
  7. PLT_APPS = public_key ssl
  8. CT_OPTS += -ct_hooks cowboy_ct_hook [] # -boot start_sasl
  9. # Dependencies.
  10. LOCAL_DEPS = crypto
  11. DEPS = cowlib ranch
  12. dep_cowlib = git https://github.com/ninenines/cowlib 2.1.0
  13. dep_ranch = git https://github.com/ninenines/ranch 1.4.0
  14. DOC_DEPS = asciideck
  15. TEST_DEPS = ci.erlang.mk ct_helper gun
  16. dep_ct_helper = git https://github.com/extend/ct_helper master
  17. dep_gun = git https://github.com/ninenines/gun master
  18. # CI configuration.
  19. dep_ci.erlang.mk = git https://github.com/ninenines/ci.erlang.mk master
  20. DEP_EARLY_PLUGINS = ci.erlang.mk
  21. AUTO_CI_OTP ?= OTP-19+
  22. AUTO_CI_HIPE ?= OTP-LATEST
  23. # AUTO_CI_ERLLVM ?= OTP-LATEST
  24. AUTO_CI_WINDOWS ?= OTP-19+
  25. # Standard targets.
  26. include erlang.mk
  27. # Compile options.
  28. ERLC_OPTS += +warn_missing_spec +warn_untyped_record
  29. TEST_ERLC_OPTS += +'{parse_transform, eunit_autoexport}'
  30. # Generate rebar.config on build.
  31. app:: rebar.config
  32. # Dialyze the tests.
  33. # DIALYZER_OPTS += --src -r test
  34. # Use erl_make_certs from the tested release during CI.
  35. ci-setup:: clean deps test-deps
  36. $(gen_verbose) cp ~/.kerl/builds/$(CI_OTP_RELEASE)/otp_src_git/lib/ssl/test/erl_make_certs.erl deps/ct_helper/src/