Skip to content

Commit 9a481e9

Browse files
committed
Simplify erlc opts for rabbitmq_peer_discovery_common
(cherry picked from commit 49a4758) (cherry picked from commit f6e4576)
1 parent 883dcd2 commit 9a481e9

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

deps/rabbitmq_peer_discovery_common/BUILD.bazel

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,12 @@ RUNTIME_DEPS = [
3333
"//deps/rabbit:bazel_erlang_lib",
3434
]
3535

36-
ERLC_OPTS = RABBITMQ_ERLC_OPTS + [
37-
"-I deps/rabbitmq_peer_discovery_common",
38-
]
39-
40-
TEST_ERLC_OPTS = RABBITMQ_TEST_ERLC_OPTS + [
41-
"-I deps/rabbitmq_peer_discovery_common",
42-
]
43-
4436
rabbitmq_lib(
4537
app_description = APP_DESCRIPTION,
4638
app_module = APP_MODULE,
4739
app_name = APP_NAME,
4840
build_deps = BUILD_DEPS,
49-
erlc_opts = ERLC_OPTS,
5041
extra_apps = EXTRA_APPS,
51-
test_erlc_opts = TEST_ERLC_OPTS,
5242
runtime_deps = RUNTIME_DEPS,
5343
deps = DEPS,
5444
)

deps/rabbitmq_peer_discovery_common/src/rabbit_peer_discovery_cleanup.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
-behaviour(gen_server).
1212

13-
-include("include/rabbit_peer_discovery.hrl").
13+
-include("rabbit_peer_discovery.hrl").
1414

1515
-export([start_link/0,
1616
check_cluster/0]).

deps/rabbitmq_peer_discovery_common/src/rabbit_peer_discovery_httpc.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
-module(rabbit_peer_discovery_httpc).
1111

12-
-include("include/rabbit_peer_discovery.hrl").
12+
-include("rabbit_peer_discovery.hrl").
1313

1414
%%
1515
%% API

0 commit comments

Comments
 (0)