mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
cmake: Make make lint less verbose
It unnecessarily complicates spotting linter errors, as they're usually surrounded by a bunch of lines saying "Done processing ... ".
This commit is contained in:
2
clint.py
2
clint.py
@@ -3070,8 +3070,6 @@ def ProcessFile(filename, vlevel, extra_check_functions=[]):
|
||||
'One or more unexpected \\r (^M) found;'
|
||||
'better to use only a \\n')
|
||||
|
||||
sys.stderr.write('Done processing %s\n' % filename)
|
||||
|
||||
|
||||
def PrintUsage(message):
|
||||
"""Prints a brief usage string and exits, optionally with an error message.
|
||||
|
||||
@@ -5,9 +5,7 @@ file(GLOB_RECURSE LINT_FILES ${LINT_DIR}/*.c ${LINT_DIR}/*.h)
|
||||
if(LINT_IGNORE_FILE)
|
||||
file(READ ${LINT_IGNORE_FILE} LINT_IGNORED_FILES)
|
||||
string(REPLACE "\n" ";" LINT_IGNORED_FILES ${LINT_IGNORED_FILES})
|
||||
message(STATUS "Ignoring the following files for linting:")
|
||||
foreach(ignore_file ${LINT_IGNORED_FILES})
|
||||
message(STATUS "${ignore_file}")
|
||||
list(REMOVE_ITEM LINT_FILES "${LINT_PREFIX}/${ignore_file}")
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user