forked from rabbitmq/ra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
52 lines (34 loc) · 1.33 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
PROJECT = ra
# PROJECT_DESCRIPTION = Experimental raft library
# PROJECT_VERSION = 0.1.0
# PROJECT_MOD = ra_app
##NB: ra uses an src/ra.app.src file
ESCRIPT_NAME = ra_fifo_cli
ESCRIPT_EMU_ARGS = -noinput -setcookie ra_fifo_cli
dep_gen_batch_server = hex 0.8.8
dep_aten = hex 0.6.0
dep_seshat = hex 0.6.0
DEPS = aten gen_batch_server seshat
TEST_DEPS = proper meck eunit_formatters inet_tcp_proxy
BUILD_DEPS = elvis_mk
LOCAL_DEPS = sasl crypto
dep_elvis_mk = git https://github.com/inaka/elvis.mk.git master
dep_looking_glass = git https://github.com/rabbitmq/looking-glass.git master
dep_inet_tcp_proxy = git https://github.com/rabbitmq/inet_tcp_proxy.git
DEP_PLUGINS = elvis_mk
PLT_APPS += eunit proper syntax_tools erts kernel stdlib common_test inets aten mnesia ssh ssl meck gen_batch_server inet_tcp_proxy
EDOC_OUTPUT = docs
EDOC_OPTS = {pretty_printer, erl_pp}, {sort_functions, false}
all::
escript-zip::
mkdir -p $(DEPS_DIR)/elvis_mk/ebin
DIALYZER_OPTS += --src -r test
EUNIT_OPTS = no_tty, {report, {eunit_progress, [colored, profile]}}
include $(if $(ERLANG_MK_FILENAME),$(ERLANG_MK_FILENAME),erlang.mk)
check-rabbitmq-components.mk:
true
RABBITMQ_UPSTREAM_FETCH_URL ?= https://github.com/rabbitmq/aten.git
.PHONY: show-upstream-git-fetch-url
show-upstream-git-fetch-url:
@echo $(RABBITMQ_UPSTREAM_FETCH_URL)
include mk/bazel.mk