Skip to content

Commit

Permalink
Update format.sh to not use clang-format -verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobdufault committed Nov 19, 2017
1 parent 1ae6cc1 commit e917795
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e917795

Please sign in to comment.