Skip to content

Commit 37bf911

Browse files
committed
Fix dialyze target in plugins when asdf is used
[This](ninenines/erlang.mk@e13b4c7) `erlang.mk` commit fixed the detection of Elixir libraries for `asdf` users, but the "old way" remained in `rabbitmq-early-plugin.mk`. Removing the `dialyze` target env definitions fixes this issue, and, the value of `ERL_LIBS` that is set is the same. Win-win.
1 parent 6abeaf4 commit 37bf911

File tree

37 files changed

+36
-3
lines changed

37 files changed

+36
-3
lines changed

deps/rabbit/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ MD_MANPAGES = $(patsubst %,%.md,$(MANPAGES))
151151
CT_HOOKS = rabbit_ct_hook
152152
DEP_EARLY_PLUGINS = rabbit_common/mk/rabbitmq-early-plugin.mk
153153
DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk
154+
ELIXIR = system
154155

155156
include ../../rabbitmq-components.mk
156157
include ../../erlang.mk

deps/rabbit_common/mk/rabbitmq-early-plugin.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
DIALYZER_OPTS ?= -Werror_handling -Wunmatched_returns -Wunknown
66

7-
dialyze: ELIXIR_LIBS = $(dir $(shell readlink -f `which elixir`))/../lib
8-
dialyze: ERL_LIBS = $(APPS_DIR):$(DEPS_DIR):$(ELIXIR_LIBS)
9-
107
# --------------------------------------------------------------------
118
# Common Test flags.
129
# --------------------------------------------------------------------

deps/rabbitmq_auth_backend_cache/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ PLT_APPS += rabbitmq_cli
2323

2424
DEP_EARLY_PLUGINS = rabbit_common/mk/rabbitmq-early-plugin.mk
2525
DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk
26+
ELIXIR = system
2627

2728
include ../../rabbitmq-components.mk
2829
include ../../erlang.mk

deps/rabbitmq_auth_backend_http/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ TEST_DEPS = rabbitmq_ct_helpers rabbitmq_ct_client_helpers cowboy rabbitmq_amqp_
2525

2626
DEP_EARLY_PLUGINS = rabbit_common/mk/rabbitmq-early-plugin.mk
2727
DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk
28+
ELIXIR = system
2829

2930
include ../../rabbitmq-components.mk
3031
include ../../erlang.mk

deps/rabbitmq_auth_backend_ldap/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ dep_ct_helper = git https://github.com/extend/ct_helper.git master
4141

4242
DEP_EARLY_PLUGINS = rabbit_common/mk/rabbitmq-early-plugin.mk
4343
DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk
44+
ELIXIR = system
4445

4546
include ../../rabbitmq-components.mk
4647
include ../../erlang.mk

deps/rabbitmq_auth_mechanism_ssl/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ TEST_DEPS = rabbitmq_ct_helpers rabbitmq_ct_client_helpers amqp10_client
1818

1919
DEP_EARLY_PLUGINS = rabbit_common/mk/rabbitmq-early-plugin.mk
2020
DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk
21+
ELIXIR = system
2122

2223
include ../../rabbitmq-components.mk
2324
include ../../erlang.mk

deps/rabbitmq_aws/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ PLT_APPS = rabbit
1515

1616
DEP_EARLY_PLUGINS = rabbit_common/mk/rabbitmq-early-plugin.mk
1717
DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk
18+
ELIXIR = system
1819

1920
include ../../rabbitmq-components.mk
2021
include ../../erlang.mk

deps/rabbitmq_consistent_hash_exchange/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ PLT_APPS += mnesia rabbitmq_cli
1212

1313
DEP_EARLY_PLUGINS = rabbit_common/mk/rabbitmq-early-plugin.mk
1414
DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk
15+
ELIXIR = system
1516

1617
include ../../rabbitmq-components.mk
1718
include ../../erlang.mk

deps/rabbitmq_ct_helpers/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ dep_inet_tcp_proxy = git https://github.com/rabbitmq/inet_tcp_proxy master
1818

1919
DEP_EARLY_PLUGINS = rabbit_common/mk/rabbitmq-early-plugin.mk
2020
DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk
21+
ELIXIR = system
2122

2223
include ../../rabbitmq-components.mk
2324
include ../../erlang.mk

deps/rabbitmq_event_exchange/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ TEST_DEPS = rabbitmq_ct_helpers rabbitmq_ct_client_helpers amqp_client rabbitmq_
1616

1717
DEP_EARLY_PLUGINS = rabbit_common/mk/rabbitmq-early-plugin.mk
1818
DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk
19+
ELIXIR = system
1920

2021
include ../../rabbitmq-components.mk
2122
include ../../erlang.mk

0 commit comments

Comments
 (0)