mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-27 11:55:49 +00:00
(re)enable formatting checks
llvm-svn: 195935
This commit is contained in:
parent
c454964c47
commit
2cbc7bf64a
@ -6,8 +6,7 @@ if [ "${CLANG_FORMAT}x" = "x" ]; then
|
||||
CLANG_FORMAT=`which clang-format`
|
||||
if [ "${CLANG_FORMAT}x" = "x" ]; then
|
||||
echo "Error: cannot find clang-format in your path"
|
||||
# Disable error reporting to silence the buildbots
|
||||
exit 0
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
@ -24,7 +23,7 @@ for ARG in "$@"
|
||||
|
||||
if [[ $OK -eq "1" ]]; then
|
||||
echo "Error: clang-format reported formatting differences"
|
||||
exit 0
|
||||
exit 1
|
||||
else
|
||||
echo "OK: clang-format reported no formatting differences"
|
||||
exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user