BUILD.bazel 757 B

12345678910111213141516171819202122232425262728293031323334
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "gock.go",
  6. "matcher.go",
  7. "matchers.go",
  8. "mock.go",
  9. "request.go",
  10. "responder.go",
  11. "response.go",
  12. "store.go",
  13. "transport.go",
  14. "version.go",
  15. ],
  16. importmap = "go-common/vendor/gopkg.in/h2non/gock.v1",
  17. importpath = "gopkg.in/h2non/gock.v1",
  18. visibility = ["//visibility:public"],
  19. )
  20. filegroup(
  21. name = "package-srcs",
  22. srcs = glob(["**"]),
  23. tags = ["automanaged"],
  24. visibility = ["//visibility:private"],
  25. )
  26. filegroup(
  27. name = "all-srcs",
  28. srcs = [":package-srcs"],
  29. tags = ["automanaged"],
  30. visibility = ["//visibility:public"],
  31. )