...

Text file src/edge-infra.dev/pkg/tools/dlog/cmd/BUILD.bazel

Documentation: edge-infra.dev/pkg/tools/dlog/cmd

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "cmd",
     5    srcs = [
     6        "create.go",
     7        "dlog.go",
     8        "edit.go",
     9    ],
    10    importpath = "edge-infra.dev/pkg/tools/dlog/cmd",
    11    visibility = ["//visibility:public"],
    12    deps = [
    13        "//pkg/lib/cli/rags",
    14        "//pkg/lib/cli/sink",
    15        "//pkg/tools/dlog",
    16        "@io_k8s_sigs_yaml//:yaml",
    17    ],
    18)
    19
    20go_test(
    21    name = "cmd_test",
    22    srcs = ["create_test.go"],
    23    data = glob(["testdata/**"]),
    24    embed = [":cmd"],
    25    deps = [
    26        "//pkg/lib/build/bazel",
    27        "@com_github_stretchr_testify//assert",
    28        "@com_github_stretchr_testify//require",
    29    ],
    30)

View as plain text