diff --git a/test/e2e/generated/BUILD b/test/e2e/generated/BUILD index 895dd683fbd..a82f3efa2c1 100644 --- a/test/e2e/generated/BUILD +++ b/test/e2e/generated/BUILD @@ -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"], )