0
0
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:
Colin Edwards 2020-05-28 09:56:10 -05:00 committed by GitHub
commit d886dbef51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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