blob: bb31f8eaada31a18b3c9ac78315c2016cc7f25e6 [file] [log] [blame] [edit]
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "pathtools",
srcs = ["path.go"],
importpath = "github.com/bazelbuild/bazel-gazelle/pathtools",
visibility = ["//visibility:public"],
)
go_test(
name = "pathtools_test",
srcs = ["path_test.go"],
embed = [":pathtools"],
)
filegroup(
name = "all_files",
testonly = True,
srcs = [
"BUILD.bazel",
"path.go",
"path_test.go",
],
visibility = ["//visibility:public"],
)
alias(
name = "go_default_library",
actual = ":pathtools",
visibility = ["//visibility:public"],
)