mirror of
https://github.com/Cyan4973/xxHash.git
synced 2026-01-19 17:02:11 +00:00
Merge pull request #1089 from Cyan4973/trailingWhitespaceLineNb
trailingWhitespace test now provides the line number when test fails
This commit is contained in:
2
Makefile
2
Makefile
@@ -528,7 +528,7 @@ listL120: # extract lines >= 120 characters in *.{c,h}, by Takayuki Matsuoka (n
|
||||
|
||||
.PHONY: trailingWhitespace
|
||||
trailingWhitespace:
|
||||
! $(GREP) -E "`printf '[ \\t]$$'`" cli/*.c cli/*.h cli/*.1 *.c *.h LICENSE Makefile build/cmake/CMakeLists.txt
|
||||
@$(GREP) -n -E "`printf '[ \\t]$$'`" cli/*.c cli/*.h cli/*.1 *.c *.h LICENSE Makefile build/cmake/CMakeLists.txt && { echo "Error: trailing whitespace detected"; exit 1; } || true
|
||||
|
||||
.PHONY: lint-unicode
|
||||
lint-unicode:
|
||||
|
||||
Reference in New Issue
Block a user