2023-03-14 12:18:33 -04:00
|
|
|
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": [
|
2023-03-27 04:42:30 -04:00
|
|
|
"@com_github_google_go_licenses//go-licenses",
|
2023-03-14 12:18:33 -04:00
|
|
|
"@com_github_katexochen_sh_v3//cmd/shfmt",
|
2023-03-29 06:31:30 -04:00
|
|
|
"@org_golang_x_tools//cmd/stringer",
|
2023-03-27 07:35:51 -04:00
|
|
|
"@org_golang_x_vuln//cmd/govulncheck",
|
2023-03-14 12:18:33 -04:00
|
|
|
],
|
|
|
|
"//conditions:default": [],
|
|
|
|
}),
|
|
|
|
)
|