tools: Show format violations
Some checks failed
Build and test / build (push) Failing after 1m40s

This commit is contained in:
apio 2024-12-23 23:10:11 +01:00
parent b0be170b41
commit 498c371547
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -10,7 +10,7 @@ ALL_OK=1
for f in ${SOURCES[@]}
do
clang-format -n $f 2>&1 | grep -q ^
clang-format -n $f 2>&1 | tee -a /tmp/clang-format-output | grep -q ^
RESULT=$?
if [ "$RESULT" -eq "0" ]
then
@ -25,4 +25,7 @@ then
exit 0
fi
cat /tmp/clang-format-output
rm /tmp/clang-format-output
exit 1