mirror of
https://github.com/curl/curl.git
synced 2026-01-18 17:21:26 +01:00
cmakelint: also lint CMake .in files, fix a long line
```
CMakeConfigurableFile.in
cmake_uninstall.cmake.in
curl-config.cmake.in
```
Follow-up to 16f073ef49 #16973
Closes #19773
This commit is contained in:
@@ -52,7 +52,7 @@ cd "$(dirname "$0")"/..
|
||||
# strip off the leading ./ to make the grep regexes work properly
|
||||
find . -type f | sed 's@^\./@@'
|
||||
fi
|
||||
} | grep -E '(^CMake|/CMake|\.cmake$)' | grep -v -E '(\.h\.cmake|\.in|\.c)$' \
|
||||
} | grep -E '(^CMake|/CMake|\.cmake$)' | grep -v -E '(\.h\.cmake|\.c)$' \
|
||||
| xargs \
|
||||
cmake-lint \
|
||||
--suppress-decorations \
|
||||
|
||||
Reference in New Issue
Block a user