BUILD.bazel 993 B

123456789101112131415161718192021222324252627282930313233
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["doc.go"],
  5. importmap = "go-common/vendor/github.com/stretchr/testify",
  6. importpath = "github.com/stretchr/testify",
  7. visibility = ["//visibility:public"],
  8. deps = [
  9. "//vendor/github.com/stretchr/testify/assert:go_default_library",
  10. "//vendor/github.com/stretchr/testify/http:go_default_library",
  11. "//vendor/github.com/stretchr/testify/mock:go_default_library",
  12. ],
  13. )
  14. filegroup(
  15. name = "package-srcs",
  16. srcs = glob(["**"]),
  17. tags = ["automanaged"],
  18. visibility = ["//visibility:private"],
  19. )
  20. filegroup(
  21. name = "all-srcs",
  22. srcs = [
  23. ":package-srcs",
  24. "//vendor/github.com/stretchr/testify/assert:all-srcs",
  25. "//vendor/github.com/stretchr/testify/http:all-srcs",
  26. "//vendor/github.com/stretchr/testify/mock:all-srcs",
  27. ],
  28. tags = ["automanaged"],
  29. visibility = ["//visibility:public"],
  30. )