github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/internal/module/BUILD.bazel (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library")
     2  
     3  go_library(
     4      name = "module",
     5      srcs = ["module.go"],
     6      importpath = "github.com/bazelbuild/bazel-gazelle/internal/module",
     7      visibility = ["//:__subpackages__"],
     8      deps = ["@com_github_bazelbuild_buildtools//build"],
     9  )
    10  
    11  filegroup(
    12      name = "all_files",
    13      testonly = True,
    14      srcs = [
    15          "BUILD.bazel",
    16          "module.go",
    17      ],
    18      visibility = ["//visibility:public"],
    19  )
    20  
    21  alias(
    22      name = "go_default_library",
    23      actual = ":module",
    24      visibility = ["//:__subpackages__"],
    25  )