...

Text file src/github.com/bazelbuild/bazel-gazelle/walk/BUILD.bazel

Documentation: github.com/bazelbuild/bazel-gazelle/walk

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "walk",
     5    srcs = [
     6        "config.go",
     7        "walk.go",
     8    ],
     9    importpath = "github.com/bazelbuild/bazel-gazelle/walk",
    10    visibility = ["//visibility:public"],
    11    deps = [
    12        "//config",
    13        "//flag",
    14        "//rule",
    15        "@com_github_bmatcuk_doublestar_v4//:doublestar",
    16    ],
    17)
    18
    19go_test(
    20    name = "walk_test",
    21    srcs = [
    22        "config_test.go",
    23        "walk_test.go",
    24    ],
    25    embed = [":walk"],
    26    deps = [
    27        "//config",
    28        "//rule",
    29        "//testtools",
    30        "@com_github_bmatcuk_doublestar_v4//:doublestar",
    31        "@com_github_google_go_cmp//cmp",
    32    ],
    33)
    34
    35filegroup(
    36    name = "all_files",
    37    testonly = True,
    38    srcs = [
    39        "BUILD.bazel",
    40        "config.go",
    41        "config_test.go",
    42        "walk.go",
    43        "walk_test.go",
    44    ],
    45    visibility = ["//visibility:public"],
    46)
    47
    48alias(
    49    name = "go_default_library",
    50    actual = ":walk",
    51    visibility = ["//visibility:public"],
    52)

View as plain text