Make find->tidy resilient to filenames with spaces
This commit is contained in:
parent
ff2616e847
commit
8dab56ea9d
13
mk/tests.mk
13
mk/tests.mk
|
@ -261,12 +261,13 @@ ALL_HS := $(filter-out $(S)src/rt/valgrind/valgrind.h \
|
||||||
tidy:
|
tidy:
|
||||||
@$(call E, check: formatting)
|
@$(call E, check: formatting)
|
||||||
$(Q)find $(S)src -name '*.r[sc]' \
|
$(Q)find $(S)src -name '*.r[sc]' \
|
||||||
| grep '^$(S)src/jemalloc' -v \
|
-and -not -regex '^$(S)src/jemalloc.*' \
|
||||||
| grep '^$(S)src/libuv' -v \
|
-and -not -regex '^$(S)src/libuv.*' \
|
||||||
| grep '^$(S)src/llvm' -v \
|
-and -not -regex '^$(S)src/llvm.*' \
|
||||||
| grep '^$(S)src/gyp' -v \
|
-and -not -regex '^$(S)src/gyp.*' \
|
||||||
| grep '^$(S)src/libbacktrace' -v \
|
-and -not -regex '^$(S)src/libbacktrace.*' \
|
||||||
| xargs -n 10 $(CFG_PYTHON) $(S)src/etc/tidy.py
|
-print0 \
|
||||||
|
| xargs -0 -n 10 $(CFG_PYTHON) $(S)src/etc/tidy.py
|
||||||
$(Q)find $(S)src/etc -name '*.py' \
|
$(Q)find $(S)src/etc -name '*.py' \
|
||||||
| xargs -n 10 $(CFG_PYTHON) $(S)src/etc/tidy.py
|
| xargs -n 10 $(CFG_PYTHON) $(S)src/etc/tidy.py
|
||||||
$(Q)find $(S)src/doc -name '*.js' \
|
$(Q)find $(S)src/doc -name '*.js' \
|
||||||
|
|
Loading…
Reference in New Issue