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-04-30 20:51:37 +02:00
|
|
|
DEPS = ranch
|
2013-05-01 18:20:56 +02:00
|
|
|
TEST_DEPS = ct_helper
|
2013-06-20 15:24:01 +02:00
|
|
|
dep_ranch = https://github.com/extend/ranch.git 0.8.4
|
2013-05-01 18:20:56 +02:00
|
|
|
dep_ct_helper = https://github.com/extend/ct_helper.git 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
|