45 lines
997 B
Python
45 lines
997 B
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
licenses(["notice"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"conversion.go",
|
|
"defaults.go",
|
|
"register.go",
|
|
],
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//pkg/api:go_default_library",
|
|
"//pkg/apis/meta/v1:go_default_library",
|
|
"//pkg/fields:go_default_library",
|
|
"//pkg/labels:go_default_library",
|
|
"//pkg/runtime:go_default_library",
|
|
"//pkg/runtime/schema:go_default_library",
|
|
"//pkg/runtime/serializer:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//federation/apis/core/install:all-srcs",
|
|
"//federation/apis/core/v1:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|