BUILD.bazel 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "doc.go",
  6. "register.go",
  7. "types.go",
  8. "zz_generated.deepcopy.go",
  9. ],
  10. importpath = "k8s.io/test-infra/prow/apis/prowjobs/v1",
  11. visibility = ["//visibility:public"],
  12. deps = [
  13. "//vendor/github.com/knative/build/pkg/apis/build/v1alpha1:go_default_library",
  14. "//vendor/k8s.io/api/core/v1:go_default_library",
  15. "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
  16. "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
  17. "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
  18. "//vendor/k8s.io/test-infra/prow/apis/prowjobs: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. )