Skip to content

Commit

Permalink
Revert "Remove Elixir json dep in a few more places #9926"
Browse files Browse the repository at this point in the history
This reverts commit 50e1fed.
  • Loading branch information
mkuratczyk committed Nov 17, 2023
1 parent 7ef4bec commit 9373661
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ exports_files([
# gazelle:exclude deps/gun
# gazelle:exclude deps/inet_tcp_proxy
# gazelle:exclude deps/jose
# gazelle:exclude deps/json
# gazelle:exclude deps/meck
# gazelle:exclude deps/observer_cli
# gazelle:exclude deps/osiris
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ XREF_EXTRA_APP_DIRS = $(filter-out deps/rabbitmq_cli/_build/dev/lib/rabbit_commo
# protocols directly.
XREF_IGNORE = [ \
{'Elixir.CSV.Encode',impl_for,1}, \
{'Elixir.JSON.Decoder',impl_for,1}, \
{'Elixir.JSON.Encoder',impl_for,1}, \
{'Elixir.RabbitMQ.CLI.Core.DataCoercion',impl_for,1}]

# Include Elixir libraries in the Xref checks.
Expand Down
10 changes: 10 additions & 0 deletions dist.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,15 @@ def source_archive(
prefix = "deps",
)

pkg_files(
name = "json-files",
srcs = [
"@json//:sources",
],
strip_prefix = "",
prefix = "deps/json",
)

pkg_files(
name = "csv-files",
srcs = [
Expand All @@ -349,6 +358,7 @@ def source_archive(
extension = extension,
srcs = [
":deps-files",
":json-files",
":csv-files",
Label("@rabbitmq-server//:root-licenses"),
],
Expand Down

0 comments on commit 9373661

Please sign in to comment.