aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 6d98abb..2116f34 100644
--- a/Makefile
+++ b/Makefile
@@ -4,14 +4,17 @@ 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
+CT_SUITES = eunit http loop_handler spdy ws
+CT_OPTS += -pa test -ct_hooks cowboy_ct_hook []
PLT_APPS = crypto public_key ssl
# Dependencies.
DEPS = cowlib ranch
-dep_cowlib = pkg://cowlib 0.4.0
+dep_cowlib = pkg://cowlib 0.6.1
dep_ranch = pkg://ranch 0.9.0
TEST_DEPS = ct_helper gun
@@ -21,11 +24,3 @@ dep_gun = pkg://gun master
# Standard targets.
include erlang.mk
-
-# Extra targets.
-
-.PHONY: autobahn
-
-autobahn: clean clean-deps deps app build-tests
- @mkdir -p logs/
- @$(CT_RUN) -suite autobahn_SUITE