mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Set tabsize to 4 in when formatting cmake
This commit is contained in:
parent
22655d7554
commit
4831ae17d9
@ -9,7 +9,7 @@ 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 --tab-size 4 --max-subgroups-hwrap 4 -i {}; echo -n '.'"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user