aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-03-27 11:16:24 +0100
committerLoïc Hoguin <[email protected]>2014-03-27 11:30:44 +0100
commitc9b9644aa3020643051da73931542367d649f593 (patch)
tree5e8d739849e1b55306a7c7e2eec2238ce0ebb4eb /Makefile
parent17af50812c47f5dec7e02e443c551b9697715729 (diff)
downloadcowboy-c9b9644aa3020643051da73931542367d649f593.tar.gz
cowboy-c9b9644aa3020643051da73931542367d649f593.tar.bz2
cowboy-c9b9644aa3020643051da73931542367d649f593.zip
Add +warn_missing_spec and fix specs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bd35c4b..d32ec42 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,8 @@ PROJECT = cowboy
# 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
CT_SUITES = eunit http spdy ws
PLT_APPS = crypto public_key ssl