mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 02:49:00 +00:00
Exclude cmake build directories from format-code
This commit is contained in:
parent
609a271952
commit
54d8e920f1
@ -38,7 +38,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cd $(dirname $0)
|
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' \
|
-name '*.hh' -o -name '*.h' -o -name '*.cc' -o -name '*.c' \
|
||||||
')' -print); do
|
')' -print); do
|
||||||
if $clang_format < $i >| $i.new; then
|
if $clang_format < $i >| $i.new; then
|
||||||
|
Loading…
Reference in New Issue
Block a user