summaryrefslogtreecommitdiffstats
path: root/bin/format_source
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-07 15:08:33 (GMT)
committerGitHub <noreply@github.com>2023-06-07 15:08:33 (GMT)
commit37efa90085f6c34db6d5947f3320c3d519ee3653 (patch)
tree8991488b2082e2538143089775db861b4d7cd64e /bin/format_source
parent8304ce006ed06807545a15998bbe782c663afd2f (diff)
downloadhdf5-37efa90085f6c34db6d5947f3320c3d519ee3653.zip
hdf5-37efa90085f6c34db6d5947f3320c3d519ee3653.tar.gz
hdf5-37efa90085f6c34db6d5947f3320c3d519ee3653.tar.bz2
Remove unused cruft from bin dir (#3071)
Diffstat (limited to 'bin/format_source')
-rwxr-xr-xbin/format_source4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/format_source b/bin/format_source
index 227d22a..fb0264c 100755
--- a/bin/format_source
+++ b/bin/format_source
@@ -5,8 +5,6 @@
#
# Note that any files or directories that are excluded here should also be
# added to the 'exclude' list in .github/workflows/clang-format-check.yml
-#
-# (Remember to update both bin/format_source and bin/format_source_patch)
find . \( -type d -path ./config -prune -and -not -path ./config \) \
-or \( \( \! \( \
@@ -21,6 +19,6 @@ find . \( -type d -path ./config -prune -and -not -path ./config \) \
-or -name H5overflow.h \
\) \) \
-and \( -iname *.h -or -iname *.c -or -iname *.cpp -or -iname *.hpp -or -iname *.java \) \) \
- | xargs clang-format -style=file -i -fallback-style=none
+ | xargs -P0 -n1 clang-format -style=file -i -fallback-style=none
exit 0