BUILD 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "gomega_dsl.go",
  6. "matchers.go",
  7. ],
  8. importmap = "k8s.io/kubernetes/vendor/github.com/onsi/gomega",
  9. importpath = "github.com/onsi/gomega",
  10. visibility = ["//visibility:public"],
  11. deps = [
  12. "//vendor/github.com/onsi/gomega/internal/assertion:go_default_library",
  13. "//vendor/github.com/onsi/gomega/internal/asyncassertion:go_default_library",
  14. "//vendor/github.com/onsi/gomega/internal/testingtsupport:go_default_library",
  15. "//vendor/github.com/onsi/gomega/matchers:go_default_library",
  16. "//vendor/github.com/onsi/gomega/types:go_default_library",
  17. ],
  18. )
  19. filegroup(
  20. name = "package-srcs",
  21. srcs = glob(["**"]),
  22. tags = ["automanaged"],
  23. visibility = ["//visibility:private"],
  24. )
  25. filegroup(
  26. name = "all-srcs",
  27. srcs = [
  28. ":package-srcs",
  29. "//vendor/github.com/onsi/gomega/format:all-srcs",
  30. "//vendor/github.com/onsi/gomega/gstruct:all-srcs",
  31. "//vendor/github.com/onsi/gomega/internal/assertion:all-srcs",
  32. "//vendor/github.com/onsi/gomega/internal/asyncassertion:all-srcs",
  33. "//vendor/github.com/onsi/gomega/internal/oraclematcher:all-srcs",
  34. "//vendor/github.com/onsi/gomega/internal/testingtsupport:all-srcs",
  35. "//vendor/github.com/onsi/gomega/matchers:all-srcs",
  36. "//vendor/github.com/onsi/gomega/types:all-srcs",
  37. ],
  38. tags = ["automanaged"],
  39. visibility = ["//visibility:public"],
  40. )