mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-01 16:28:09 +08:00
Run parallel clang-format tasks (#2740)
Adds xargs arguments to enable running clang-format in parallel
This commit is contained in:
parent
f9c16de8a7
commit
afc2281bbf
@ -21,6 +21,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
|
||||
|
Loading…
Reference in New Issue
Block a user