From e917795e396c17c56381fbd8a17a6b9cf0ca0d2c Mon Sep 17 00:00:00 2001 From: Jacob Dufault Date: Sun, 19 Nov 2017 14:10:28 -0800 Subject: [PATCH] Update format.sh to not use clang-format -verbose --- format.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/format.sh b/format.sh index 77992947b..0d65025b0 100755 --- a/format.sh +++ b/format.sh @@ -9,6 +9,9 @@ # ./format.sh # -FILES=$(find src -name '*.cc' -o -name '*.h') -clang-format -style=Chromium -verbose -i $FILES +FILES=$(find src -name '*.cc' -o -name '*.h' | grep -v '/\.') +for FILE in $FILES; do + echo "Formatting $FILE" + clang-format -style=Chromium -i $FILE +done