ci: format ./twitch-eventsub-ws (#6647)

This commit is contained in:
pajlada
2025-12-14 15:00:57 +01:00
committed by GitHub
parent 7657d7f679
commit b9cf385a40
24 changed files with 53 additions and 26 deletions
+4
View File
@@ -17,6 +17,8 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
-regex '\./src/.*\.\(hpp\|cpp\)' -o \
-regex '\./tests/src/.*\.\(hpp\|cpp\)' -o \
-regex '\./benchmarks/src/.*\.\(hpp\|cpp\)' -o \
-regex '\./lib/twitch-eventsub-ws/include/.*\.\(hpp\|cpp\)' -o \
-regex '\./lib/twitch-eventsub-ws/src/.*\.\(hpp\|cpp\)' -o \
-regex '\./mocks/include/.*\.\(hpp\|cpp\)' \
\) | parallel --verbose --jobs "$NUM_FORMAT_JOBS" clang-format -i
else
@@ -24,6 +26,8 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
-regex '\./src/.*\.\(hpp\|cpp\)' -o \
-regex '\./tests/src/.*\.\(hpp\|cpp\)' -o \
-regex '\./benchmarks/src/.*\.\(hpp\|cpp\)' -o \
-regex '\./lib/twitch-eventsub-ws/include/.*\.\(hpp\|cpp\)' -o \
-regex '\./lib/twitch-eventsub-ws/src/.*\.\(hpp\|cpp\)' -o \
-regex '\./mocks/include/.*\.\(hpp\|cpp\)' \
\) -exec clang-format -i {} \;
fi