Skip to content

Commit

Permalink
Fixup the source_archive macro in dist.bzl
Browse files Browse the repository at this point in the history
  • Loading branch information
HoloRin committed Jul 14, 2022
1 parent 18963c9 commit 27cad09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 1 addition & 3 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,7 @@ pkg_tar(

package_generic_unix(plugins = PLUGINS)

source_archive(plugins = PLUGINS + [
"//deps/rabbitmq_cli:rabbitmqctl",
])
source_archive(plugins = PLUGINS)

genrule(
name = "test-logs",
Expand Down
6 changes: 4 additions & 2 deletions dist.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,9 @@ def source_archive(
rabbitmq_workspace = "@"):
source_tree(
name = "source-tree",
deps = plugins,
deps = plugins + [
rabbitmq_workspace + "//deps/rabbitmq_cli:rabbitmqctl",
],
)

pkg_tar(
Expand All @@ -305,7 +307,7 @@ def source_archive(
pkg_tar(
name = "cli-deps-archive",
deps = [
"//deps/rabbitmq_cli:fetched_srcs",
rabbitmq_workspace + "//deps/rabbitmq_cli:fetched_srcs",
],
package_dir = "deps/rabbitmq_cli",
)
Expand Down

0 comments on commit 27cad09

Please sign in to comment.