This commit is contained in:
parent
b0be170b41
commit
498c371547
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user