mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
testdata dirs are not useful go code
Minor. This removes a few "testdata" dirs from .make/all_go_dirs.mk -hack/make-rules/helpers/go2make/testdata/dir-with-gofiles -test/conformance/testdata -test/instrumentation/testdata/pkg/kubelet/metrics -test/instrumentation/testdata/staging/src/k8s.io/metrics -test/typecheck/testdata/bad -test/typecheck/testdata/good -test/typecheck/testdata/good/testdata -vendor/k8s.io/kubectl/pkg/cmd/edit/testdata This list of dirs is used to figure out which directories need codegen, and none of these do.
This commit is contained in:
parent
ddfc53922c
commit
c6a8961534
@ -39,7 +39,7 @@ function kfind() {
|
|||||||
# We want to include the "special" vendor directories which are actually
|
# We want to include the "special" vendor directories which are actually
|
||||||
# part of the Kubernetes source tree (./staging/*) but we need them to be
|
# part of the Kubernetes source tree (./staging/*) but we need them to be
|
||||||
# named as their ./vendor/* equivalents. Also, we do not want all of
|
# named as their ./vendor/* equivalents. Also, we do not want all of
|
||||||
# ./vendor , ./hack/tools/vendor or even all of ./vendor/k8s.io.
|
# ./vendor nor ./hack/tools/vendor nor even all of ./vendor/k8s.io.
|
||||||
find -H . \
|
find -H . \
|
||||||
\( \
|
\( \
|
||||||
-not \( \
|
-not \( \
|
||||||
@ -49,6 +49,10 @@ function kfind() {
|
|||||||
\( \
|
\( \
|
||||||
-name 'vendor' \
|
-name 'vendor' \
|
||||||
-type d \
|
-type d \
|
||||||
|
\) -o \
|
||||||
|
\( \
|
||||||
|
-name 'testdata' \
|
||||||
|
-type d \
|
||||||
\) \
|
\) \
|
||||||
\) -prune \
|
\) -prune \
|
||||||
\) \
|
\) \
|
||||||
|
Loading…
Reference in New Issue
Block a user