1
0
forked from bip/bip

Add make lint calling clang-format & force 80 cols

This commit is contained in:
Loïc Gomez 2022-01-12 21:48:43 +01:00 committed by Pierre-Louis Bonicoli
parent 34b3c4b0c3
commit 7680af6a09
Signed by untrusted user: pilou
GPG Key ID: 06914C4A5EDAA6DD
2 changed files with 4 additions and 0 deletions

View File

@ -19,3 +19,4 @@ BreakBeforeBinaryOperators: NonAssignment
BreakStringLiterals: false
SortIncludes: false
ContinuationIndentWidth: 8
ColumnLimit: 80

View File

@ -13,3 +13,6 @@ EXTRA_DIST = \
scripts/bip-release \
scripts/bipgenconfig \
systemd
lint:
find src/ tests/ \( -name *.c -o -name *.h \) -type f -print0 | xargs -0 clang-format -i