mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-04 10:33:30 +00:00
CI: Don't run clang format on some submodule plugins
This commit is contained in:
parent
22bddd0270
commit
e4bfd03944
|
@ -27,5 +27,14 @@ else
|
|||
CLANG_FORMAT=clang-format
|
||||
fi
|
||||
|
||||
find . -type d \( -path ./deps -o -path ./cmake -o -path ./plugins/decklink/win -o -path ./plugins/decklink/mac -o -path ./plugins/decklink/linux -o -path ./build \) -prune -type f -o -name '*.h' -or -name '*.hpp' -or -name '*.m' -or -name '*.mm' -or -name '*.c' -or -name '*.cpp' \
|
||||
find . -type d \( -path ./deps \
|
||||
-o -path ./cmake \
|
||||
-o -path ./plugins/decklink/win \
|
||||
-o -path ./plugins/decklink/mac \
|
||||
-o -path ./plugins/decklink/linux \
|
||||
-o -path ./plugins/enc-amf \
|
||||
-o -path ./plugins/mac-syphon/syphon-framework \
|
||||
-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 {}
|
||||
|
|
Loading…
Reference in a new issue