mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
unrevert genrule for bindata
This commit is contained in:
parent
634df04128
commit
bce3f0e247
@ -12,6 +12,29 @@ load(
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = ["main.go"],
|
||||
tags = ["automanaged"],
|
||||
srcs = [
|
||||
"main.go",
|
||||
":bindata",
|
||||
],
|
||||
)
|
||||
|
||||
genrule(
|
||||
name = "bindata",
|
||||
srcs = [
|
||||
"//examples:sources",
|
||||
"//test/images:sources",
|
||||
"//test/fixtures:sources",
|
||||
"//test/e2e/testing-manifests:sources",
|
||||
],
|
||||
outs = ["bindata.go"],
|
||||
cmd = """
|
||||
$(location //vendor:github.com/jteeuwen/go-bindata/go-bindata) \
|
||||
-nometadata -o "$(OUTS)" -pkg generated \
|
||||
-prefix $$(pwd) \
|
||||
-ignore .jpg -ignore .png -ignore .md \
|
||||
$(SRCS)
|
||||
""",
|
||||
tools = [
|
||||
"//vendor:github.com/jteeuwen/go-bindata/go-bindata",
|
||||
],
|
||||
)
|
||||
|
7
vendor/BUILD
vendored
7
vendor/BUILD
vendored
@ -3513,13 +3513,6 @@ go_library(
|
||||
tags = ["automanaged"],
|
||||
)
|
||||
|
||||
go_library(
|
||||
name = "github.com/google/cadvisor/info/v1/test",
|
||||
srcs = ["github.com/google/cadvisor/info/v1/test/datagen.go"],
|
||||
tags = ["automanaged"],
|
||||
deps = ["//vendor:github.com/google/cadvisor/info/v1"],
|
||||
)
|
||||
|
||||
go_library(
|
||||
name = "github.com/google/cadvisor/info/v2",
|
||||
srcs = [
|
||||
|
Loading…
Reference in New Issue
Block a user