Reformat CMake: Ignore `FindHaskell.cmake`
@@ -23,7 +23,12 @@ fi
cd "$SOURCE"
for file in $(find . \( -name 'CMakeLists.txt' -or -name '*.cmake' \) -and \
- \( -not -regex '.*build/.*' -and -not -regex '.*gtest.*' -and -not -regex '.*tests/shell/CMakeLists.txt$' \));
+ \( \
+ -not -regex '.*build/.*' \
+ -not -regex '.*gtest.*' \
+ -not -regex '.*cmake/Modules/FindHaskell.cmake$' \
+ -not -regex '.*tests/shell/CMakeLists.txt$' \
+ \));
do
$CMAKE_FORMAT "$file" | unexpand | sponge "$file"
done
