BUILD.bazel 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "bool.go",
  6. "bool_slice.go",
  7. "count.go",
  8. "duration.go",
  9. "flag.go",
  10. "float32.go",
  11. "float64.go",
  12. "golangflag.go",
  13. "int.go",
  14. "int32.go",
  15. "int64.go",
  16. "int8.go",
  17. "int_slice.go",
  18. "ip.go",
  19. "ip_slice.go",
  20. "ipmask.go",
  21. "ipnet.go",
  22. "string.go",
  23. "string_array.go",
  24. "string_slice.go",
  25. "uint.go",
  26. "uint16.go",
  27. "uint32.go",
  28. "uint64.go",
  29. "uint8.go",
  30. "uint_slice.go",
  31. ],
  32. importmap = "k8s.io/test-infra/vendor/github.com/spf13/pflag",
  33. importpath = "github.com/spf13/pflag",
  34. visibility = ["//visibility:public"],
  35. )
  36. filegroup(
  37. name = "package-srcs",
  38. srcs = glob(["**"]),
  39. tags = ["automanaged"],
  40. visibility = ["//visibility:private"],
  41. )
  42. filegroup(
  43. name = "all-srcs",
  44. srcs = [":package-srcs"],
  45. tags = ["automanaged"],
  46. visibility = ["//visibility:public"],
  47. )