-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathMakefile
33 lines (23 loc) · 1.12 KB
/
Makefile
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
PROJECT = rabbitmq_email
PROJECT_DESCRIPTION = RabbitMQ plugin that converts incoming emails into messages and messages into outgoing emails
RABBITMQ_VERSION ?= v3.11.x
# Note: must be the same version as in rabbitmq-components.mk
DEP_RANCH_VERSION = 2.1.0
dep_ranch = ranch $(DEP_RANCH_VERSION)
dep_eiconv = hex 1.0.0
dep_gen_smtp = hex 1.2.0
DEPS = gen_smtp rabbit_common amqp_client rabbit eiconv
TEST_DEPS = rabbitmq_ct_helpers rabbitmq_ct_client_helpers amqp_client eiconv
DEP_EARLY_PLUGINS = rabbit_common/mk/rabbitmq-early-plugin.mk
DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk
# FIXME: Use erlang.mk patched for RabbitMQ, while waiting for PRs to be
# reviewed and merged.
ERLANG_MK_REPO = https://github.com/rabbitmq/erlang.mk.git
ERLANG_MK_COMMIT = rabbitmq-tmp
# --------------------------------------------------------------------
# Testing.
# --------------------------------------------------------------------
include rabbitmq-components.mk
include erlang.mk
autopatch-gen_smtp::
$(verbose) sed -i.autopatch.bak -e 's/dep_ranch[^=]*=.*ranch$$/dep_ranch = hex $(DEP_RANCH_VERSION) ranch/' $(DEPS_DIR)/gen_smtp/Makefile