From 83b4564f8c86c181d14549e742568f6a195f2828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 4 Dec 2023 12:12:42 +0100 Subject: Don't dialyze the tests by default --- Makefile | 4 ++-- ebin/ranch.app | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 56222ee..3115b87 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ PROJECT_REGISTERED = ranch_server # Options. CT_OPTS += -pa test -ct_hooks ranch_ct_hook [] # -boot start_sasl -PLT_APPS = common_test crypto ct_helper public_key stampede tools +PLT_APPS = crypto public_key tools # common_test ct_helper stampede # Dependencies. @@ -64,7 +64,7 @@ TEST_ERLC_OPTS += +'{parse_transform, eunit_autoexport}' # Dialyze the tests. -DIALYZER_OPTS += --src -r test +#DIALYZER_OPTS += --src -r test # Use erl_make_certs from the tested release during CI # and ensure that ct_helper is always recompiled. diff --git a/ebin/ranch.app b/ebin/ranch.app index b4488ae..4aa41cf 100644 --- a/ebin/ranch.app +++ b/ebin/ranch.app @@ -4,6 +4,7 @@ {modules, ['ranch','ranch_acceptor','ranch_acceptors_sup','ranch_app','ranch_conns_sup','ranch_conns_sup_sup','ranch_crc32c','ranch_embedded_sup','ranch_listener_sup','ranch_protocol','ranch_proxy_header','ranch_server','ranch_server_proxy','ranch_ssl','ranch_sup','ranch_tcp','ranch_transport']}, {registered, [ranch_sup,ranch_server]}, {applications, [kernel,stdlib,ssl]}, + {optional_applications, []}, {mod, {ranch_app, []}}, {env, []} ]}. \ No newline at end of file -- cgit v1.2.3