github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/internal/language/test_filegroup/BUILD.bazel (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_library") 2 3 go_library( 4 name = "test_filegroup", 5 srcs = ["lang.go"], 6 importpath = "github.com/bazelbuild/bazel-gazelle/internal/language/test_filegroup", 7 visibility = ["//visibility:public"], 8 deps = [ 9 "//config", 10 "//label", 11 "//language", 12 "//repo", 13 "//resolve", 14 "//rule", 15 ], 16 ) 17 18 filegroup( 19 name = "all_files", 20 testonly = True, 21 srcs = [ 22 "BUILD.bazel", 23 "lang.go", 24 ], 25 visibility = ["//visibility:public"], 26 ) 27 28 alias( 29 name = "go_default_library", 30 actual = ":test_filegroup", 31 visibility = ["//:__subpackages__"], 32 )