-
Notifications
You must be signed in to change notification settings - Fork 4k
Expand file tree
/
Copy pathMakefile
More file actions
48 lines (41 loc) · 1.58 KB
/
Makefile
File metadata and controls
48 lines (41 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
PROJECT = rabbitmq_stomp
PROJECT_DESCRIPTION = RabbitMQ STOMP plugin
PROJECT_MOD = rabbit_stomp
define PROJECT_ENV
[
{default_user,
[{login, <<"guest">>},
{passcode, <<"guest">>}]},
{default_vhost, <<"/">>},
{default_topic_exchange, <<"amq.topic">>},
{default_nack_requeue, true},
{ssl_cert_login, false},
{implicit_connect, false},
{tcp_listeners, [61613]},
{ssl_listeners, []},
{num_tcp_acceptors, 10},
{num_ssl_acceptors, 10},
{tcp_listen_options, [{backlog, 128},
{nodelay, true}]},
%% see rabbitmq/rabbitmq-stomp#39
{trailing_lf, true},
%% see rabbitmq/rabbitmq-stomp#57
{hide_server_info, false},
{proxy_protocol, false}
]
endef
define PROJECT_APP_EXTRA_KEYS
{broker_version_requirements, []}
endef
DEPS = ranch rabbit_common rabbit
TEST_DEPS = rabbitmq_ct_helpers rabbitmq_ct_client_helpers rabbitmq_management proper
PLT_APPS += rabbitmq_cli elixir ssl
DEP_EARLY_PLUGINS = rabbit_common/mk/rabbitmq-early-plugin.mk
DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk
include ../../rabbitmq-components.mk
include ../../erlang.mk
# Regenerate per-function CT test cases from Python test files.
# The generated .hrl is committed; this rule updates it when Python sources change.
# Runs only when python3 is available.
test/python_SUITE_generated.hrl:: $(wildcard test/python_SUITE_data/src/*.py) test/generate_python_tests.py
$(if $(shell which python3 2>/dev/null),python3 test/generate_python_tests.py test/python_SUITE_data/src $@,@echo "python3 not found, using committed $@")