BUILD 818 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. "go_test",
  6. )
  7. go_library(
  8. name = "go_default_library",
  9. srcs = ["pool.go"],
  10. importpath = "go-common/app/interface/main/mcn/tool/worker",
  11. tags = ["automanaged"],
  12. visibility = ["//visibility:public"],
  13. deps = ["//library/log:go_default_library"],
  14. )
  15. filegroup(
  16. name = "package-srcs",
  17. srcs = glob(["**"]),
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:private"],
  20. )
  21. filegroup(
  22. name = "all-srcs",
  23. srcs = [":package-srcs"],
  24. tags = ["automanaged"],
  25. visibility = ["//visibility:public"],
  26. )
  27. go_test(
  28. name = "go_default_test",
  29. srcs = ["pool_test.go"],
  30. embed = [":go_default_library"],
  31. rundir = ".",
  32. tags = ["automanaged"],
  33. )