...

Text file src/edge-infra.dev/hack/tools/gcs-file-cleaner/BUILD.bazel

Documentation: edge-infra.dev/hack/tools/gcs-file-cleaner

     1load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
     2
     3go_library(
     4    name = "gcs-clean-cluster_lib",
     5    srcs = ["main.go"],
     6    importpath = "edge-infra.dev/hack/tools/gcs-clean-cluster",
     7    visibility = ["//visibility:private"],
     8    deps = [
     9        "@com_google_cloud_go_storage//:storage",
    10        "@org_golang_google_api//iterator",
    11    ],
    12)
    13
    14go_binary(
    15    name = "gcs-clean-cluster",
    16    embed = [":gcs-file-cleaner_lib"],
    17    visibility = ["//visibility:public"],
    18)
    19
    20go_library(
    21    name = "gcs-file-cleaner_lib",
    22    srcs = ["main.go"],
    23    importpath = "edge-infra.dev/hack/tools/gcs-file-cleaner",
    24    visibility = ["//visibility:private"],
    25    deps = [
    26        "@com_google_cloud_go_storage//:storage",
    27        "@org_golang_google_api//iterator",
    28    ],
    29)

View as plain text