BUILD.bazel 737 B

12345678910111213141516171819202122232425262728293031
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "dictionary.go",
  6. "seg.go",
  7. "segmenter.go",
  8. "test_utils.go",
  9. "token.go",
  10. "utils.go",
  11. ],
  12. importmap = "go-common/vendor/github.com/go-ego/gse",
  13. importpath = "github.com/go-ego/gse",
  14. visibility = ["//visibility:public"],
  15. deps = ["//vendor/github.com/go-ego/cedar:go_default_library"],
  16. )
  17. filegroup(
  18. name = "package-srcs",
  19. srcs = glob(["**"]),
  20. tags = ["automanaged"],
  21. visibility = ["//visibility:private"],
  22. )
  23. filegroup(
  24. name = "all-srcs",
  25. srcs = [":package-srcs"],
  26. tags = ["automanaged"],
  27. visibility = ["//visibility:public"],
  28. )