mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Add +warn_untyped_record to the build options
This commit is contained in:
parent
e74120bee1
commit
8d2063bb2e
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -4,8 +4,6 @@ PROJECT = cowboy
|
||||||
|
|
||||||
# Options.
|
# Options.
|
||||||
|
|
||||||
ERLC_OPTS ?= -Werror +debug_info +warn_export_all +warn_export_vars \
|
|
||||||
+warn_shadow_vars +warn_obsolete_guard +warn_missing_spec
|
|
||||||
COMPILE_FIRST = cowboy_middleware cowboy_sub_protocol
|
COMPILE_FIRST = cowboy_middleware cowboy_sub_protocol
|
||||||
CT_OPTS += -pa test -ct_hooks cowboy_ct_hook []
|
CT_OPTS += -pa test -ct_hooks cowboy_ct_hook []
|
||||||
PLT_APPS = crypto public_key ssl
|
PLT_APPS = crypto public_key ssl
|
||||||
|
@ -22,6 +20,8 @@ dep_ct_helper = git https://github.com/extend/ct_helper.git master
|
||||||
|
|
||||||
include erlang.mk
|
include erlang.mk
|
||||||
|
|
||||||
|
ERLC_OPTS += +warn_export_all +warn_missing_spec +warn_untyped_record
|
||||||
|
|
||||||
# Also dialyze the tests.
|
# Also dialyze the tests.
|
||||||
|
|
||||||
# DIALYZER_OPTS += --src -r test
|
# DIALYZER_OPTS += --src -r test
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue