From 172fe47c859f884b22b7f109fb740b153ff2ea0a Mon Sep 17 00:00:00 2001 From: akallabeth Date: Thu, 28 Nov 2024 19:50:05 +0100 Subject: [PATCH] [ci,cmake-format] add ci configuration also format the ci configuration files --- scripts/cmake-format.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/cmake-format.sh b/scripts/cmake-format.sh index 1a0d62cba..687a77047 100755 --- a/scripts/cmake-format.sh +++ b/scripts/cmake-format.sh @@ -28,7 +28,8 @@ then fi CMAKE_FILES=$(find ${SRC_PATH} -name "*.cmake" -o -name "CMakeLists.txt") -for FILE in $CMAKE_FILES; +CMAKE_CI_FILES=$(find ${SRC_PATH}/ci -name "*.txt") +for FILE in $CMAKE_FILES $CMAKE_CI_FILES; do echo "processing file $FILE..." cmake-format -c "$SCRIPT_PATH/cmake-format.yml" $FORMAT_ARG $FILE