BUILD 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["go-junit-report.go"],
  5. importmap = "k8s.io/kubernetes/vendor/github.com/jstemmer/go-junit-report",
  6. importpath = "github.com/jstemmer/go-junit-report",
  7. visibility = ["//visibility:private"],
  8. deps = [
  9. "//vendor/github.com/jstemmer/go-junit-report/formatter:go_default_library",
  10. "//vendor/github.com/jstemmer/go-junit-report/parser:go_default_library",
  11. ],
  12. )
  13. go_binary(
  14. name = "go-junit-report",
  15. embed = [":go_default_library"],
  16. tags = ["manual"],
  17. visibility = ["//visibility:public"],
  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/jstemmer/go-junit-report/formatter:all-srcs",
  30. "//vendor/github.com/jstemmer/go-junit-report/parser:all-srcs",
  31. ],
  32. tags = ["automanaged"],
  33. visibility = ["//visibility:public"],
  34. )