constellation/hack/bazel-deps-mirror/BUILD.bazel
2024-02-08 14:20:01 +00:00

29 lines
838 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "bazel-deps-mirror_lib",
srcs = [
"bazel-deps-mirror.go",
"check.go",
"fix.go",
"upgrade.go",
],
importpath = "github.com/edgelesssys/constellation/v2/hack/bazel-deps-mirror",
visibility = ["//visibility:private"],
deps = [
"//hack/bazel-deps-mirror/internal/bazelfiles",
"//hack/bazel-deps-mirror/internal/issues",
"//hack/bazel-deps-mirror/internal/mirror",
"//hack/bazel-deps-mirror/internal/rules",
"//internal/logger",
"@com_github_bazelbuild_buildtools//build",
"@com_github_spf13_cobra//:cobra",
],
)
go_binary(
name = "bazel-deps-mirror",
embed = [":bazel-deps-mirror_lib"],
visibility = ["//visibility:public"],
)