revert revert of test/e2e/generated/BUILD

broken in fad1990eaa
pull/6/head
Mike Danese 2016-11-18 11:22:10 -08:00
parent 577991b0ab
commit ea192ddb28
1 changed files with 22 additions and 2 deletions

View File

@ -13,8 +13,28 @@ load(
go_library(
name = "go_default_library",
srcs = [
"bindata.go",
"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",
],
tags = ["automanaged"],
)