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