Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabime <gmelman1@mgail.com>2020-05-02 11:35:13 +0300
committergabime <gmelman1@mgail.com>2020-05-02 11:35:13 +0300
commite86dc8c3385b72f28a4f0743bd667347490481d0 (patch)
tree165fe3ce011773920873167b5fa0aaae6eccd226
parent0814de6371c4371b02ce46bbc1255d4343be97a5 (diff)
Added call to cmake-format
-rwxr-xr-xscripts/format.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/format.sh b/scripts/format.sh
index 915c4887..99aa1856 100755
--- a/scripts/format.sh
+++ b/scripts/format.sh
@@ -3,10 +3,10 @@
cd "$(dirname "$0")"/..
pwd
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 -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 -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 '.'"