style: Make uncrustify silent
This commit is contained in:
parent
f32a46694a
commit
fff1d0a168
2 changed files with 3 additions and 3 deletions
|
@ -140,7 +140,7 @@ do
|
|||
# +++ - timestamp
|
||||
# to both lines working on the same file and having a a/ and b/ prefix.
|
||||
# Else it can not be applied with 'git apply'.
|
||||
"$UNCRUSTIFY" -c "$CONFIG" -f "$file" $language_option | \
|
||||
"$UNCRUSTIFY" -q -c "$CONFIG" -f "$file" $language_option | \
|
||||
git --no-pager diff --color=always --no-index -- "$file" - | \
|
||||
sed -e "1s|--- $file_escaped_source|--- \"a/$file_escaped_target\"|" -e "2s|+++ -|+++ \"b/$file_escaped_target\"|" >> "$patch"
|
||||
done
|
||||
|
|
|
@ -50,8 +50,8 @@ matrix:
|
|||
- export STYLE_OK=true
|
||||
- >
|
||||
for f in $SOURCES; do
|
||||
if ! uncrustify --check -c .uncrustify.cfg $f; then
|
||||
uncrustify -c .uncrustify.cfg -f $f | git --no-pager diff --no-index --color=always $f -
|
||||
if ! uncrustify -q --check -c .uncrustify.cfg $f; then
|
||||
uncrustify -q -c .uncrustify.cfg -f $f | git --no-pager diff --no-index --color=always $f -
|
||||
export STYLE_OK=false
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue