0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Tweak the Makefile

This commit is contained in:
Loïc Hoguin 2017-11-17 13:18:13 +01:00
parent 39baed6c80
commit 52d869128b
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
2 changed files with 5 additions and 6 deletions

View file

@ -7,7 +7,6 @@ PROJECT_REGISTERED = cowboy_clock
# Options. # Options.
COMPILE_FIRST = cowboy_middleware cowboy_stream cowboy_sub_protocol
PLT_APPS = public_key ssl PLT_APPS = public_key ssl
CT_OPTS += -ct_hooks cowboy_ct_hook [] # -boot start_sasl CT_OPTS += -ct_hooks cowboy_ct_hook [] # -boot start_sasl
@ -41,18 +40,18 @@ include erlang.mk
# Compile options. # Compile options.
ERLC_OPTS += +warn_export_all +warn_missing_spec +warn_untyped_record ERLC_OPTS += +warn_missing_spec +warn_untyped_record
TEST_ERLC_OPTS += +'{parse_transform, eunit_autoexport}' TEST_ERLC_OPTS += +'{parse_transform, eunit_autoexport}'
# Generate rebar.config on build. # Generate rebar.config on build.
app:: rebar.config app:: rebar.config
# Also dialyze the tests. # Dialyze the tests.
# DIALYZER_OPTS += --src -r test # DIALYZER_OPTS += --src -r test
# Use erl_make_certs from the tested release. # Use erl_make_certs from the tested release during CI.
ci-setup:: clean deps test-deps ci-setup:: clean deps test-deps
$(gen_verbose) cp ~/.kerl/builds/$(CI_OTP_RELEASE)/otp_src_git/lib/ssl/test/erl_make_certs.erl deps/ct_helper/src/ $(gen_verbose) cp ~/.kerl/builds/$(CI_OTP_RELEASE)/otp_src_git/lib/ssl/test/erl_make_certs.erl deps/ct_helper/src/

View file

@ -1,4 +1,4 @@
{deps, [ {deps, [
{cowlib,".*",{git,"https://github.com/ninenines/cowlib","2.0.1"}},{ranch,".*",{git,"https://github.com/ninenines/ranch","1.4.0"}} {cowlib,".*",{git,"https://github.com/ninenines/cowlib","master"}},{ranch,".*",{git,"https://github.com/ninenines/ranch","1.4.0"}}
]}. ]}.
{erl_opts, [debug_info,warn_export_vars,warn_shadow_vars,warn_obsolete_guard,warn_export_all,warn_missing_spec,warn_untyped_record]}. {erl_opts, [debug_info,warn_export_vars,warn_shadow_vars,warn_obsolete_guard,warn_missing_spec,warn_untyped_record]}.