Skip to content

Commit 8401896

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 4e3e5a9 commit 8401896

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

tools/BUILD.bazel

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

0 commit comments

Comments
 (0)