diff options
author | Loïc Hoguin <[email protected]> | 2017-11-17 13:18:13 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-11-17 13:18:13 +0100 |
commit | 52d869128b28011e0387f1744c8b547faac46cba (patch) | |
tree | 070387625879bef3476e1975d30f71262902d4b8 | |
parent | 39baed6c800fa9e756f7491063ead399a23083f4 (diff) | |
download | cowboy-52d869128b28011e0387f1744c8b547faac46cba.tar.gz cowboy-52d869128b28011e0387f1744c8b547faac46cba.tar.bz2 cowboy-52d869128b28011e0387f1744c8b547faac46cba.zip |
Tweak the Makefile
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | rebar.config | 4 |
2 files changed, 5 insertions, 6 deletions
@@ -7,7 +7,6 @@ PROJECT_REGISTERED = cowboy_clock # Options. -COMPILE_FIRST = cowboy_middleware cowboy_stream cowboy_sub_protocol PLT_APPS = public_key ssl CT_OPTS += -ct_hooks cowboy_ct_hook [] # -boot start_sasl @@ -41,18 +40,18 @@ include erlang.mk # 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}' # Generate rebar.config on build. app:: rebar.config -# Also dialyze the tests. +# Dialyze the tests. # 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 $(gen_verbose) cp ~/.kerl/builds/$(CI_OTP_RELEASE)/otp_src_git/lib/ssl/test/erl_make_certs.erl deps/ct_helper/src/ diff --git a/rebar.config b/rebar.config index 101f012..ce0ae08 100644 --- a/rebar.config +++ b/rebar.config @@ -1,4 +1,4 @@ {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]}. |