51 lines
1.1 KiB
Python
51 lines
1.1 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"bool.go",
|
|
"bool_slice.go",
|
|
"count.go",
|
|
"duration.go",
|
|
"flag.go",
|
|
"float32.go",
|
|
"float64.go",
|
|
"golangflag.go",
|
|
"int.go",
|
|
"int32.go",
|
|
"int64.go",
|
|
"int8.go",
|
|
"int_slice.go",
|
|
"ip.go",
|
|
"ip_slice.go",
|
|
"ipmask.go",
|
|
"ipnet.go",
|
|
"string.go",
|
|
"string_array.go",
|
|
"string_slice.go",
|
|
"uint.go",
|
|
"uint16.go",
|
|
"uint32.go",
|
|
"uint64.go",
|
|
"uint8.go",
|
|
"uint_slice.go",
|
|
],
|
|
importmap = "k8s.io/test-infra/vendor/github.com/spf13/pflag",
|
|
importpath = "github.com/spf13/pflag",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
)
|