cmakelint: also lint CMake `.in` files, fix a long line
No binary (build failed)
—
(log yok)
| @@ -23,7 +23,8 @@ | |
| ########################################################################### | |
| @PACKAGE_INIT@ | |
| - | option(CURL_USE_PKGCONFIG "Enable pkg-config to detect @PROJECT_NAME@ dependencies. Default: @CURL_USE_PKGCONFIG@" "@CURL_USE_PKGCONFIG@") |
| + | option(CURL_USE_PKGCONFIG "Enable pkg-config to detect @PROJECT_NAME@ dependencies. Default: @CURL_USE_PKGCONFIG@" |
| + | "@CURL_USE_PKGCONFIG@") |
| include(CMakeFindDependencyMacro) | |
| @@ -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 \ | |