summaryrefslogtreecommitdiff
path: root/util/lint
diff options
context:
space:
mode:
authorMaximilian Brune <maximilian.brune@9elements.com>2024-08-12 01:58:31 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-09-11 13:39:24 +0000
commit394c5a0dd1ecccaf379a592995dcd69f3c88961b (patch)
tree8b8a0904695376fee432e6760cad26a00b21f0c2 /util/lint
parentcfc85d073fd128e179515bb7c68a2fe8c4a07d68 (diff)
util/lint/lint-final-newlines: Supply dirs in row
This just orders the EXCLUDED_DIRS directories in a row based manner, since there are quite a few them now and it is arguably easier to read and to add new directories if they are written in a row based fashion. Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com> Change-Id: I802aece355bba4900e71824d802c4b2438726e84 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83872 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'util/lint')
-rwxr-xr-xutil/lint/lint-extended-015-final-newlines12
1 files changed, 11 insertions, 1 deletions
diff --git a/util/lint/lint-extended-015-final-newlines b/util/lint/lint-extended-015-final-newlines
index 4ea4536124..18ca75b7e6 100755
--- a/util/lint/lint-extended-015-final-newlines
+++ b/util/lint/lint-extended-015-final-newlines
@@ -14,7 +14,17 @@ LINTDIR="$(
PIDS=""
INCLUDED_DIRS_AND_FILES='util/* src/* payloads/* configs/* Makefile *.inc'
-EXCLUDED_DIRS='src/vendorcode/\|cbfstool/lzma/\|cbfstool/lz4/\|Documentation/\|build/\|3rdparty/\|\.git/\|coreboot-builds/\|util/nvidia/cbootimage/\|^util/goswid/vendor'
+EXCLUDED_DIRS="\
+src/vendorcode/\|\
+cbfstool/lzma/\|\
+cbfstool/lz4/\|\
+Documentation/\|\
+build/\|\
+3rdparty/\|\
+\.git/\|\
+coreboot-builds/\|\
+util/nvidia/cbootimage/\|\
+^util/goswid/vendor"
EXCLUDED_FILES='\.gif$\|\.jpg$\|\.cksum$\|\.bin$\|\.vbt$\|\.hex$\|\.ico$\|\.o$\|\.bz2$\|\.xz$\|^.tmpconfig\|\.pyc$\|_shipped$\|sha256$\|\.png$\|\.patch$\|\.apcb$'
HAVE_FILE=$(command -v file 1>/dev/null 2>&1; echo $?)