BUILD.bazel 582 B

1234567891011121314151617181920212223
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["breaker.go"],
  5. importmap = "go-common/vendor/github.com/eapache/go-resiliency/breaker",
  6. importpath = "github.com/eapache/go-resiliency/breaker",
  7. visibility = ["//visibility:public"],
  8. )
  9. filegroup(
  10. name = "package-srcs",
  11. srcs = glob(["**"]),
  12. tags = ["automanaged"],
  13. visibility = ["//visibility:private"],
  14. )
  15. filegroup(
  16. name = "all-srcs",
  17. srcs = [":package-srcs"],
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:public"],
  20. )