1
0
forked from me/IronOS

Print formatting error

This commit is contained in:
Ben V. Brown
2021-05-21 20:20:24 +10:00
parent 23bd22d109
commit 5f7d9dd042
2 changed files with 2 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ RUN apt-get install -y \
git \
python3 \
python3-pip \
clang-format \
wget --no-install-recommends && \
apt-get clean
RUN python3 -m pip install bdflib

View File

@@ -535,6 +535,7 @@ check-style:
var=`clang-format "$$src" | diff "$$src" - | wc -l` ; \
if [ $$var -ne 0 ] ; then \
echo "$$src does not respect the coding style (diff: $$var lines)" ; \
clang-format "$$src" | diff "$$src" - \
exit 1 ; \
fi ; \
done