Update Makefile
This commit is contained in:
@@ -535,7 +535,7 @@ check-style:
|
|||||||
var=`clang-format "$$src" | diff "$$src" - | wc -l` ; \
|
var=`clang-format "$$src" | diff "$$src" - | wc -l` ; \
|
||||||
if [ $$var -ne 0 ] ; then \
|
if [ $$var -ne 0 ] ; then \
|
||||||
echo "$$src does not respect the coding style (diff: $$var lines)" ; \
|
echo "$$src does not respect the coding style (diff: $$var lines)" ; \
|
||||||
clang-format "$$src" | diff "$$src" ; \
|
clang-format "$$src" | diff "$$src" -; \
|
||||||
exit 1 ; \
|
exit 1 ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user