Skip to content

Commit 31d23d1

Browse files
morotenEdSchouten
authored andcommitted
Fix tools/BUILD.bazel to make 'bazel cquery ...' work
ibazel (https://github.com/bazelbuild/bazel-watcher/) is running `bazel cquery ...` which failed when there are executable targets in the deps attribute of a go_library. This was never checked in CI because of the manual tag of the tools target.
1 parent d03d5e3 commit 31d23d1

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

tools/BUILD.bazel

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1 @@
1-
load("@aspect_bazel_lib//lib:expand_template.bzl", "expand_template")
2-
load("@rules_go//go:def.bzl", "go_library")
3-
4-
go_library(
5-
name = "tools",
6-
srcs = ["deps.go"],
7-
importpath = "github.com/buildbarn/bb-remote-execution/tools",
8-
tags = ["manual"],
9-
visibility = ["//visibility:public"],
10-
deps = [
11-
"@cc_mvdan_gofumpt//:gofumpt",
12-
"@com_github_bazelbuild_buildtools//buildifier",
13-
"@org_golang_x_lint//:lint",
14-
],
15-
)
1+
# gazelle:ignore

0 commit comments

Comments
 (0)