constellation/hack/tools/BUILD.bazel
Paul Meyer f108ff8539
bazel: add govulncheck to //:check target (#1512)
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2023-03-27 13:35:51 +02:00

18 lines
529 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
# keep
go_library(
name = "tools_lib",
srcs = ["tools.go"],
importpath = "github.com/edgelesssys/constellation/v2/hack/tools",
visibility = ["//visibility:private"],
deps = select({
"//bazel/settings:select_never_enabled": [
"@com_github_google_go_licenses//go-licenses",
"@com_github_katexochen_sh_v3//cmd/shfmt",
"@org_golang_x_vuln//cmd/govulncheck",
],
"//conditions:default": [],
}),
)