diff options
-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]}. |