Skip to content

Commit

Permalink
Move the bats dep directly to WORKSPACE, drop workspace_helpers.bzl
Browse files Browse the repository at this point in the history
bats is a test dep, so need not be redeclared by bazel workspaces that
import rabbitmq-server
  • Loading branch information
HoloRin committed Jan 24, 2023
1 parent c982cae commit 4efa0ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
11 changes: 7 additions & 4 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository")

git_repository(
name = "rules_erlang",
Expand Down Expand Up @@ -161,9 +161,12 @@ load(

register_elixir_defaults()

load("//:workspace_helpers.bzl", "rabbitmq_external_deps")

rabbitmq_external_deps(rabbitmq_workspace = "@")
new_git_repository(
name = "bats",
remote = "https://github.com/sstephenson/bats",
tag = "v0.4.0",
build_file = "@//:BUILD.bats",
)

load("//deps/amqp10_client:activemq.bzl", "activemq_archive")

Expand Down
9 changes: 0 additions & 9 deletions workspace_helpers.bzl

This file was deleted.

0 comments on commit 4efa0ce

Please sign in to comment.