Update src/CmakeLists.txt - only check style over files starting with [A-z]
This commit is contained in:
parent
9b792d938d
commit
ef18759e77
1 changed files with 2 additions and 2 deletions
|
@ -114,8 +114,8 @@ add_subdirectory(tests/frontends/lean)
|
|||
include(StyleCheck)
|
||||
file(GLOB_RECURSE LEAN_SOURCES
|
||||
${LEAN_SOURCE_DIR}
|
||||
${LEAN_SOURCE_DIR}/*.cpp
|
||||
${LEAN_SOURCE_DIR}/*.h)
|
||||
${LEAN_SOURCE_DIR}/[A-Za-z]*.cpp
|
||||
${LEAN_SOURCE_DIR}/[A-Za-z]*.h)
|
||||
add_style_check_target(style "${LEAN_SOURCES}")
|
||||
add_test(NAME style_check
|
||||
COMMAND ${LEAN_SOURCE_DIR}/cmake/Modules/cpplint.py ${LEAN_SOURCES})
|
Loading…
Reference in a new issue