constellation/hack/tools/BUILD.bazel
Paul Meyer 2693936906 bazel: add target for tfsec
but don't include in //:check yet, there are to many false positives.

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2023-03-20 11:17:16 -04:00

19 lines
579 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": [
"@cc_mvdan_gofumpt//:gofumpt",
"@com_github_aquasecurity_tfsec//cmd/tfsec",
"@com_github_katexochen_sh_v3//cmd/shfmt",
"@com_github_rhysd_actionlint//cmd/actionlint",
],
"//conditions:default": [],
}),
)