Add make lint calling clang-format & force 80 cols
This commit is contained in:
parent
34b3c4b0c3
commit
7680af6a09
@ -19,3 +19,4 @@ BreakBeforeBinaryOperators: NonAssignment
|
|||||||
BreakStringLiterals: false
|
BreakStringLiterals: false
|
||||||
SortIncludes: false
|
SortIncludes: false
|
||||||
ContinuationIndentWidth: 8
|
ContinuationIndentWidth: 8
|
||||||
|
ColumnLimit: 80
|
||||||
|
@ -13,3 +13,6 @@ EXTRA_DIST = \
|
|||||||
scripts/bip-release \
|
scripts/bip-release \
|
||||||
scripts/bipgenconfig \
|
scripts/bipgenconfig \
|
||||||
systemd
|
systemd
|
||||||
|
|
||||||
|
lint:
|
||||||
|
find src/ tests/ \( -name *.c -o -name *.h \) -type f -print0 | xargs -0 clang-format -i
|
||||||
|
Loading…
Reference in New Issue
Block a user