Browse Source

Tweak the Makefile

Loïc Hoguin 7 years ago
parent
commit
52d869128b
2 changed files with 5 additions and 6 deletions
  1. 3 4
      Makefile
  2. 2 2
      rebar.config

+ 3 - 4
Makefile

@@ -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/

+ 2 - 2
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]}.