Mark filter-crd target as a tool dependency instead of src

Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
James Munnelly 2020-03-03 10:23:04 +00:00
parent 930827b06b
commit 5eb3cb6313

View File

@ -31,7 +31,6 @@ VARIANTS = {
name = "%s.crds" % name,
srcs = [
"00-crds.yaml",
"//hack/filter-crd",
],
outs = ["%s.crds.yaml" % name],
cmd = " ".join([
@ -40,6 +39,9 @@ VARIANTS = {
"$(location 00-crds.yaml)",
"> $@",
]),
tools = [
"//hack/filter-crd",
],
) for (name, values) in VARIANTS.items()]
[genrule(