mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Exclude more "definitely not unit tested Go source code" directories from hack/make/test
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
This commit is contained in:
parent
e1c48fa560
commit
99b6364790
1 changed files with 9 additions and 1 deletions
10
hack/make.sh
10
hack/make.sh
|
@ -136,7 +136,15 @@ go_test_dir() {
|
|||
# output, one per line.
|
||||
find_dirs() {
|
||||
find -not \( \
|
||||
\( -wholename './vendor' -o -wholename './integration' -o -wholename './contrib' -o -wholename './pkg/mflag/example' \) \
|
||||
\( \
|
||||
-wholename './vendor' \
|
||||
-o -wholename './integration' \
|
||||
-o -wholename './contrib' \
|
||||
-o -wholename './pkg/mflag/example' \
|
||||
-o -wholename './.git' \
|
||||
-o -wholename './bundles' \
|
||||
-o -wholename './docs' \
|
||||
\) \
|
||||
-prune \
|
||||
\) -name "$1" -print0 | xargs -0n1 dirname | sort -u
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue