Merge pull request #35702 from mikedanese/unrevert

unrevert genrule for bindata
This commit is contained in:
Anirudh Ramanathan 2016-10-27 11:53:04 -07:00 committed by GitHub
commit 7870543471
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 = [