From 4831ae17d98d750f1263b8fa213fa0b54bd1c79b Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 2 May 2020 11:41:32 +0300 Subject: [PATCH] Set tabsize to 4 in when formatting cmake --- scripts/format.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/format.sh b/scripts/format.sh index 99aa1856..bd5868eb 100755 --- a/scripts/format.sh +++ b/scripts/format.sh @@ -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 '.'" echo 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