[ci,cmake-format] add ci configuration

also format the ci configuration files
This commit is contained in:
akallabeth
2024-11-28 19:50:05 +01:00
parent b4976163cd
commit 172fe47c85

View File

@@ -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