Added call to cmake-format

This commit is contained in:
gabime 2020-05-02 11:35:13 +03:00
parent 0814de6371
commit e86dc8c338

View File

@ -3,10 +3,10 @@
cd "$(dirname "$0")"/.. cd "$(dirname "$0")"/..
pwd pwd
echo -n "Running dos2unix " echo -n "Running dos2unix "
#find . -name "*\.h" -o -name "*\.cpp"|grep -v bundled|xargs -I {} sh -c "dos2unix '{}' 2>/dev/null; echo -n '.'" find . -name "*\.h" -o -name "*\.cpp"|grep -v bundled|xargs -I {} sh -c "dos2unix '{}' 2>/dev/null; echo -n '.'"
echo echo
echo -n "Running clang-format " echo -n "Running clang-format "
#find . -name "*\.h" -o -name "*\.cpp"|grep -v bundled|xargs -I {} sh -c "clang-format -i {}; echo -n '.'" find . -name "*\.h" -o -name "*\.cpp"|grep -v bundled|xargs -I {} sh -c "clang-format -i {}; echo -n '.'"
echo echo
echo -n "Running cmake-format " echo -n "Running cmake-format "
find . -name "CMakeLists.txt" -o -name "*\.cmake"|grep -v bundled|xargs -I {} sh -c "cmake-format --line-width 120 --max-subgroups-hwrap 4 -i {}; echo -n '.'" find . -name "CMakeLists.txt" -o -name "*\.cmake"|grep -v bundled|xargs -I {} sh -c "cmake-format --line-width 120 --max-subgroups-hwrap 4 -i {}; echo -n '.'"