diff options
author | Martin Roth <martinroth@google.com> | 2017-07-22 21:49:21 -0600 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2017-07-24 16:28:24 +0000 |
commit | 43be77db3185591a6bd04b36cd0135634816d82d (patch) | |
tree | 7069c1219dcc0da4afa1be58efb3e5a3e9f8bd37 /util/lint | |
parent | ad5014952b9c84bb3668ce3f21094a06b798499f (diff) | |
download | coreboot-43be77db3185591a6bd04b36cd0135634816d82d.tar.xz |
util/lint: Update final newline check
- Exclude .png and .patch files.
- Turn into a lint-stable test.
Change-Id: I4a5c77d7856bc5017ba441d458378b4837c1c7d5
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/20706
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/lint')
-rwxr-xr-x | util/lint/lint-stable-015-final-newlines (renamed from util/lint/lint-015-final-newlines) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/lint/lint-015-final-newlines b/util/lint/lint-stable-015-final-newlines index f80912c4cf..bfaa817e1f 100755 --- a/util/lint/lint-015-final-newlines +++ b/util/lint/lint-stable-015-final-newlines @@ -17,7 +17,7 @@ LC_ALL=C export LC_ALL EXCLUDED_DIRS='src/vendorcode/\|util/romcc/\|cbfstool/lzma/\|cbfstool/lz4/\|Documentation/\|build/\|3rdparty/\|\.git/\|coreboot-builds/\|util/nvidia/cbootimage/' -EXCLUDED_FILES='\.jpg$\|\.cksum$\|\.bin$\|\.hex$\|\.ico$\|\.o$\|\.bz2$\|\.xz$\|^.tmpconfig\|\.pyc$\|_shipped$\|sha256$' +EXCLUDED_FILES='\.jpg$\|\.cksum$\|\.bin$\|\.hex$\|\.ico$\|\.o$\|\.bz2$\|\.xz$\|^.tmpconfig\|\.pyc$\|_shipped$\|sha256$\|\.png$\|\.patch$' # Use git ls-files if the code is in a git repo, otherwise use find. if [ -n "$(command -v git)" ] && [ -d .git ]; then |