From 9d23d645d5f621b98b1ad9a8c7c77bee54d05857 Mon Sep 17 00:00:00 2001 From: Fredrik Medley Date: Fri, 22 Nov 2024 10:45:56 +0100 Subject: [PATCH] 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. --- tools/BUILD.bazel | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/tools/BUILD.bazel b/tools/BUILD.bazel index 83def71..9968c4a 100644 --- a/tools/BUILD.bazel +++ b/tools/BUILD.bazel @@ -1,14 +1 @@ -load("@rules_go//go:def.bzl", "go_library") - -go_library( - name = "tools", - srcs = ["deps.go"], - importpath = "github.com/buildbarn/bb-remote-asset/tools", - tags = ["manual"], - visibility = ["//visibility:public"], - deps = [ - "@cc_mvdan_gofumpt//:gofumpt", - "@com_github_bazelbuild_buildtools//buildifier", - "@org_golang_x_lint//:lint", - ], -) +# gazelle:ignore