2011-03-07 22:59:22 +01:00
|
|
|
# See LICENSE for licensing information.
|
|
|
|
|
2012-04-12 22:04:58 +02:00
|
|
|
PROJECT = cowboy
|
|
|
|
|
2013-04-30 20:51:37 +02:00
|
|
|
# Options.
|
2011-03-07 22:59:22 +01:00
|
|
|
|
2014-03-27 11:16:24 +01:00
|
|
|
ERLC_OPTS ?= -Werror +debug_info +warn_export_all +warn_export_vars \
|
|
|
|
+warn_shadow_vars +warn_obsolete_guard +warn_missing_spec
|
2013-04-30 20:51:37 +02:00
|
|
|
COMPILE_FIRST = cowboy_middleware cowboy_sub_protocol
|
2014-04-26 13:46:55 +02:00
|
|
|
CT_SUITES = eunit http loop_handler spdy ws
|
2014-04-21 21:22:08 +02:00
|
|
|
CT_OPTS += -pa test -ct_hooks cowboy_ct_hook []
|
2013-04-30 20:51:37 +02:00
|
|
|
PLT_APPS = crypto public_key ssl
|
2011-03-07 22:59:22 +01:00
|
|
|
|
2013-02-06 18:29:20 +01:00
|
|
|
# Dependencies.
|
|
|
|
|
2013-09-02 19:14:28 +02:00
|
|
|
DEPS = cowlib ranch
|
2014-06-10 09:34:46 +02:00
|
|
|
dep_cowlib = pkg://cowlib 0.6.2
|
2013-11-14 15:32:02 +01:00
|
|
|
dep_ranch = pkg://ranch 0.9.0
|
2013-09-02 19:14:28 +02:00
|
|
|
|
|
|
|
TEST_DEPS = ct_helper gun
|
2013-05-01 18:20:56 +02:00
|
|
|
dep_ct_helper = https://github.com/extend/ct_helper.git master
|
2013-08-31 18:39:49 +02:00
|
|
|
dep_gun = pkg://gun master
|
2012-04-13 12:29:13 +02:00
|
|
|
|
2013-04-30 20:51:37 +02:00
|
|
|
# Standard targets.
|
2012-04-12 22:04:58 +02:00
|
|
|
|
2013-04-30 20:51:37 +02:00
|
|
|
include erlang.mk
|