BUILD.bazel 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "assertions.go",
  6. "context.go",
  7. "discovery.go",
  8. "doc.go",
  9. "init.go",
  10. "nilReporter.go",
  11. ],
  12. importmap = "go-common/vendor/github.com/smartystreets/goconvey/convey",
  13. importpath = "github.com/smartystreets/goconvey/convey",
  14. visibility = ["//visibility:public"],
  15. deps = [
  16. "//vendor/github.com/jtolds/gls:go_default_library",
  17. "//vendor/github.com/smartystreets/assertions:go_default_library",
  18. "//vendor/github.com/smartystreets/goconvey/convey/reporting: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 = [
  30. ":package-srcs",
  31. "//vendor/github.com/smartystreets/goconvey/convey/gotest:all-srcs",
  32. "//vendor/github.com/smartystreets/goconvey/convey/reporting:all-srcs",
  33. ],
  34. tags = ["automanaged"],
  35. visibility = ["//visibility:public"],
  36. )