Browse Source

Don't dialyze the tests by default

Loïc Hoguin 1 year ago
parent
commit
521266326d
2 changed files with 3 additions and 2 deletions
  1. 2 2
      Makefile
  2. 1 0
      ebin/cowboy.app

+ 2 - 2
Makefile

@@ -7,7 +7,7 @@ PROJECT_REGISTERED = cowboy_clock
 
 # Options.
 
-PLT_APPS = public_key ssl
+PLT_APPS = public_key ssl # ct_helper gun common_test inets
 CT_OPTS += -ct_hooks cowboy_ct_hook [] # -boot start_sasl
 
 # Dependencies.
@@ -69,7 +69,7 @@ app:: rebar.config
 
 # Dialyze the tests.
 
-DIALYZER_OPTS += --src -r test
+#DIALYZER_OPTS += --src -r test
 
 # h2spec setup.
 

+ 1 - 0
ebin/cowboy.app

@@ -4,6 +4,7 @@
 	{modules, ['cowboy','cowboy_app','cowboy_bstr','cowboy_children','cowboy_clear','cowboy_clock','cowboy_compress_h','cowboy_constraints','cowboy_handler','cowboy_http','cowboy_http2','cowboy_loop','cowboy_metrics_h','cowboy_middleware','cowboy_req','cowboy_rest','cowboy_router','cowboy_static','cowboy_stream','cowboy_stream_h','cowboy_sub_protocol','cowboy_sup','cowboy_tls','cowboy_tracer_h','cowboy_websocket']},
 	{registered, [cowboy_sup,cowboy_clock]},
 	{applications, [kernel,stdlib,crypto,cowlib,ranch]},
+	{optional_applications, []},
 	{mod, {cowboy_app, []}},
 	{env, []}
 ]}.