diff options
author | Jay Berkenbilt <ejb@ql.org> | 2024-02-24 16:29:20 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2024-02-24 16:29:20 +0100 |
commit | 54d8e920f177f4937492e8b5ce0cea9cc743126b (patch) | |
tree | 60191f531213f15e54f8d13efa2bc9b336c7828a | |
parent | 609a2719523f41a2e88d9d4c575e28c4f3373981 (diff) | |
download | qpdf-54d8e920f177f4937492e8b5ce0cea9cc743126b.tar.zst |
Exclude cmake build directories from format-code
-rwxr-xr-x | format-code | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/format-code b/format-code index a1378405..6c5bfed5 100755 --- a/format-code +++ b/format-code @@ -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 |