unrevert genrule for bindata

This commit is contained in:
Mike Danese 2016-10-27 08:58:43 -07:00
parent 634df04128
commit bce3f0e247
2 changed files with 25 additions and 9 deletions

View File

@ -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
View File

@ -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 = [