Commit 78705434 authored by Anirudh Ramanathan's avatar Anirudh Ramanathan Committed by GitHub

Merge pull request #35702 from mikedanese/unrevert

unrevert genrule for bindata
parents 9001ccfc bce3f0e2
...@@ -12,6 +12,29 @@ load( ...@@ -12,6 +12,29 @@ load(
go_library( go_library(
name = "go_default_library", name = "go_default_library",
srcs = ["main.go"], srcs = [
tags = ["automanaged"], "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",
],
) )
...@@ -3514,13 +3514,6 @@ go_library( ...@@ -3514,13 +3514,6 @@ go_library(
) )
go_library( 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", name = "github.com/google/cadvisor/info/v2",
srcs = [ srcs = [
"github.com/google/cadvisor/info/v2/container.go", "github.com/google/cadvisor/info/v2/container.go",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment