2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-21 10:29:08 +00:00

Exclude cmake build directories from format-code

This commit is contained in:
Jay Berkenbilt 2024-02-24 10:29:20 -05:00
parent 609a271952
commit 54d8e920f1

View File

@ -38,7 +38,7 @@ else
fi
cd $(dirname $0)
for i in $(find . -name 'build*' -prune -o '(' \
for i in $(find . -name '*build*' -prune -o '(' \
-name '*.hh' -o -name '*.h' -o -name '*.cc' -o -name '*.c' \
')' -print); do
if $clang_format < $i >| $i.new; then