From 53ce86abf3bd5cff2c024c3a333bb529ace8e4a4 Mon Sep 17 00:00:00 2001 From: Moses Turner Date: Mon, 19 Sep 2022 13:55:13 -0500 Subject: [PATCH] scripts: add cmake-format to format-and-spellcheck.sh --- scripts/format-and-spellcheck.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/format-and-spellcheck.sh b/scripts/format-and-spellcheck.sh index bf145906b..86a459ee0 100755 --- a/scripts/format-and-spellcheck.sh +++ b/scripts/format-and-spellcheck.sh @@ -42,13 +42,19 @@ PATCH_NAME=fixes.diff echo "Running clang-format..." echo ./format-project.sh + + echo "Running cmake-format..." + echo + ./format-cmake.sh + + ( cd .. mkdir -p $PATCH_DIR # Can't use tee because it hides the exit code if git diff --patch --exit-code > $PATCH_DIR/$PATCH_NAME; then echo - echo "clang-format and codespell changed nothing." + echo "clang-format, cmake-format and codespell changed nothing." else echo echo "clang-format and/or codespell made at least one change, please apply the patch in the job artifacts and seen below!"