...

Text file src/github.com/bazelbuild/bazel-gazelle/language/go/testdata/lib/BUILD.want

Documentation: github.com/bazelbuild/bazel-gazelle/language/go/testdata/lib

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "lib",
     5    srcs = [
     6        "asm.h",
     7        "asm.s",
     8        "doc.go",
     9        "lib.go",
    10    ],
    11    _gazelle_imports = [
    12        "archive/tar",
    13        "bufio",
    14        "example.com/repo/lib/internal/deep",
    15        "lib.invalid/does/not/exist",
    16    ],
    17    importpath = "example.com/repo/lib",
    18    visibility = ["//visibility:public"],
    19)
    20
    21go_test(
    22    name = "lib_test",
    23    srcs = [
    24        "lib_external_test.go",
    25        "lib_test.go",
    26    ],
    27    _gazelle_imports = [
    28        "example.com/repo/lib",
    29        "testing",
    30    ],
    31    embed = [":lib"],
    32)

View as plain text