BUILD.bazel 921 B

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