mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
Merge pull request #2983 from kkartaltepe/formatcode-faster
CI: Improve formatcode.sh efficiency
This commit is contained in:
commit
d886dbef51
@ -35,4 +35,4 @@ find . -type d \( -path ./deps \
|
||||
-o -path ./plugins/obs-outputs/ftl-sdk \
|
||||
-o -path ./plugins/obs-vst \
|
||||
-o -path ./build \) -prune -type f -o -name '*.h' -or -name '*.hpp' -or -name '*.m' -or -name '*.mm' -or -name '*.c' -or -name '*.cpp' \
|
||||
| xargs -I{} -P ${NPROC} ${CLANG_FORMAT} -i -style=file -fallback-style=none {}
|
||||
| xargs -L100 -P${NPROC} ${CLANG_FORMAT} -i -style=file -fallback-style=none
|
||||
|
Loading…
Reference in New Issue
Block a user