Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tools/format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ else
fi
if which cmake-format >/dev/null; then
echo "Running cmake-format $(cmake-format --version 2>&1)."
cmake-format -i $($FIND -name '*CMakeLists.txt' -print -o \
cmake-format -i $($FIND -name FetchContent.cmake -prune -o \
-name '*CMakeLists.txt' -print -o \
-name '*.cmake' -print)
else
echo "Can't find cmake-format. It can be installed with:"
Expand Down