Files
ArduinoJson/scripts/format-code.sh
2014-10-23 23:45:36 +02:00

8 lines
153 B
Bash

cd ..
FILES=$(find include src test -regex ".*\.[ch]pp$")
clang-format -style=Google -i $FILES
# insert newline at end of file
sed -i -e '$a\' $FILES