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
|
|
|
|
2013-04-30 20:51:37 +02:00
|
|
|
COMPILE_FIRST = cowboy_middleware cowboy_sub_protocol
|
2013-05-30 20:21:01 +02:00
|
|
|
CT_SUITES = eunit http spdy ws
|
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-03-23 21:51:29 +01:00
|
|
|
dep_cowlib = pkg://cowlib 0.6.0
|
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
|
2013-04-22 15:55:22 +02:00
|
|
|
|
2013-04-30 20:51:37 +02:00
|
|
|
# Extra targets.
|
2013-01-04 17:56:49 +01:00
|
|
|
|
2013-04-30 20:51:37 +02:00
|
|
|
.PHONY: autobahn
|
2011-12-24 00:58:03 +01:00
|
|
|
|
2013-04-22 15:55:22 +02:00
|
|
|
autobahn: clean clean-deps deps app build-tests
|
2013-01-04 17:56:49 +01:00
|
|
|
@mkdir -p logs/
|
|
|
|
@$(CT_RUN) -suite autobahn_SUITE
|