...

Text file src/github.com/bazelbuild/rules_go/go/tools/bazel/BUILD.bazel

Documentation: github.com/bazelbuild/rules_go/go/tools/bazel

     1load("//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "bazel",
     5    srcs = [
     6        "bazel.go",
     7        "runfiles.go",
     8    ],
     9    importpath = "github.com/bazelbuild/rules_go/go/tools/bazel",
    10    visibility = ["//visibility:public"],
    11)
    12
    13go_test(
    14    name = "bazel_test",
    15    size = "small",
    16    srcs = ["bazel_test.go"],
    17    data = ["empty.txt"],
    18    embed = [":bazel"],
    19)
    20
    21# Runfiles functionality in this package is tested by //tests/core/runfiles.
    22
    23filegroup(
    24    name = "all_files",
    25    testonly = True,
    26    srcs = glob(["**"]),
    27    visibility = ["//visibility:public"],
    28)
    29
    30alias(
    31    name = "go_default_library",
    32    actual = ":bazel",
    33    visibility = ["//visibility:public"],
    34)

View as plain text