2015-10-19 22:44:46 +08:00
|
|
|
PROJECT = rabbitmq_web_stomp
|
2019-04-22 23:11:06 +08:00
|
|
|
PROJECT_DESCRIPTION = RabbitMQ STOMP-over-WebSockets support
|
2019-06-07 18:10:03 +08:00
|
|
|
PROJECT_MOD = rabbit_web_stomp_app
|
2016-12-07 00:09:16 +08:00
|
|
|
|
|
|
|
|
define PROJECT_ENV
|
|
|
|
|
[
|
2018-12-12 19:09:48 +08:00
|
|
|
{tcp_config, [{port, 15674}]},
|
2016-12-07 00:09:16 +08:00
|
|
|
{ssl_config, []},
|
2018-10-11 08:11:43 +08:00
|
|
|
{num_tcp_acceptors, 10},
|
|
|
|
|
{num_ssl_acceptors, 10},
|
2016-12-07 00:09:16 +08:00
|
|
|
{cowboy_opts, []},
|
2018-12-11 02:51:48 +08:00
|
|
|
{proxy_protocol, false},
|
2016-12-07 00:09:16 +08:00
|
|
|
{ws_frame, text},
|
|
|
|
|
{use_http_auth, false}
|
|
|
|
|
]
|
|
|
|
|
endef
|
2015-10-19 22:44:46 +08:00
|
|
|
|
2016-12-07 23:08:15 +08:00
|
|
|
define PROJECT_APP_EXTRA_KEYS
|
|
|
|
|
{broker_version_requirements, []}
|
|
|
|
|
endef
|
2015-10-19 22:44:46 +08:00
|
|
|
|
2017-10-23 17:24:00 +08:00
|
|
|
DEPS = cowboy rabbit_common rabbit rabbitmq_stomp
|
2025-09-24 20:29:49 +08:00
|
|
|
TEST_DEPS = gun rabbitmq_ct_helpers rabbitmq_ct_client_helpers
|
2015-10-19 22:44:46 +08:00
|
|
|
|
2024-04-29 22:15:18 +08:00
|
|
|
PLT_APPS += cowlib
|
|
|
|
|
|
2018-09-19 21:10:59 +08:00
|
|
|
# FIXME: Add Ranch as a BUILD_DEPS to be sure the correct version is picked.
|
|
|
|
|
# See rabbitmq-components.mk.
|
|
|
|
|
BUILD_DEPS += ranch
|
|
|
|
|
|
2025-09-24 20:29:49 +08:00
|
|
|
dep_gun = hex 2.2.0
|
|
|
|
|
|
2017-05-16 23:40:11 +08:00
|
|
|
DEP_EARLY_PLUGINS = rabbit_common/mk/rabbitmq-early-plugin.mk
|
2015-10-19 22:44:46 +08:00
|
|
|
DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk
|
|
|
|
|
|
2021-03-22 17:38:17 +08:00
|
|
|
include ../../rabbitmq-components.mk
|
|
|
|
|
include ../../erlang.mk
|
2025-06-05 01:34:52 +08:00
|
|
|
|
2025-09-24 20:29:49 +08:00
|
|
|
CT_HOOKS = rabbit_ct_hook
|