...

Text file src/edge-infra.dev/pkg/lib/cli/sink/BUILD.bazel

Documentation: edge-infra.dev/pkg/lib/cli/sink

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "sink",
     5    srcs = [
     6        "command.go",
     7        "doc.go",
     8        "run.go",
     9    ],
    10    importpath = "edge-infra.dev/pkg/lib/cli/sink",
    11    visibility = ["//visibility:public"],
    12    deps = [
    13        "//pkg/lib/cli/clog",
    14        "//pkg/lib/cli/rags",
    15        "//pkg/lib/fog",
    16        "@com_github_go_logr_logr//:logr",
    17        "@com_github_peterbourgon_ff_v3//:ff",
    18    ],
    19)
    20
    21go_test(
    22    name = "sink_test",
    23    srcs = [
    24        "command_test.go",
    25        "example_test.go",
    26    ],
    27    embed = [":sink"],
    28    deps = [
    29        "//pkg/lib/cli/rags",
    30        "@com_github_peterbourgon_ff_v3//:ff",
    31        "@com_github_stretchr_testify//assert",
    32        "@com_github_stretchr_testify//require",
    33    ],
    34)

View as plain text