Files
ArduinoJson/scripts/format-code.sh
2014-11-29 14:03:32 +01:00

8 lines
153 B
Bash
Executable File

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