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_tools//cmd/stringer",
            "@org_golang_x_vuln//cmd/govulncheck",
        ],
        "//conditions:default": [],
    }),
)
