summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPhilip Kuryloski <kuryloskip@vmware.com>2022-01-05 20:57:48 +0100
committerPhilip Kuryloski <kuryloskip@vmware.com>2022-01-18 13:43:46 +0100
commitefcd88165800d6603bda7d9bbcc34ef63e0bcf6f (patch)
treee82ea17a9f983ab2a45a678c6a8409f6989f32a7 /tools
parent96c9270fb37443f261f19b5498f498659895d697 (diff)
downloadrabbitmq-server-git-efcd88165800d6603bda7d9bbcc34ef63e0bcf6f.tar.gz
Use rules_erlang v2
bazel-erlang has been renamed rules_erlang. v2 is a substantial refactor that brings Windows support. While this alone isn't enough to run all rabbitmq-server suites on windows, one can at least now start the broker (bazel run broker) and run the tests that do not start a background broker process
Diffstat (limited to 'tools')
-rw-r--r--tools/erlang_ls.bzl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/erlang_ls.bzl b/tools/erlang_ls.bzl
index 073a83787a..f767255ce2 100644
--- a/tools/erlang_ls.bzl
+++ b/tools/erlang_ls.bzl
@@ -1,4 +1,4 @@
-load("@bazel-erlang//:erlang_home.bzl", "ErlangHomeProvider")
+load("@rules_erlang//:erlang_home.bzl", "ErlangHomeProvider")
def _impl(ctx):
out = ctx.actions.declare_file(ctx.label.name)
@@ -33,6 +33,6 @@ plt_path: bazel-bin/deps/rabbit/.base_plt.plt
erlang_ls_config = rule(
implementation = _impl,
attrs = {
- "_erlang_home": attr.label(default = "@bazel-erlang//:erlang_home"),
+ "_erlang_home": attr.label(default = "@rules_erlang//:erlang_home"),
},
)