cleanup bazel build files in-tree in make clean

now that bazel is removed, this automates cleanup.
This commit is contained in:
Benjamin Elder 2021-03-05 18:03:00 -08:00
parent ed6b9addbf
commit c39ff2a05c

View File

@ -26,6 +26,9 @@ CLEAN_PATTERNS=(
"doc_tmp"
"((?!staging\/src\/k8s\.io\/apiextensions-apiserver\/pkg\/generated\/openapi).)*/zz_generated.openapi.go"
"test/e2e/generated/bindata.go"
# TODO(bentheelder): remove this pattern after bazel is not in any supported releases
# see: https://github.com/kubernetes/enhancements/issues/2420
"bazel-.*"
)
for pattern in "${CLEAN_PATTERNS[@]}"; do