1
0
mirror of https://github.com/kakwa/uts-server synced 2024-12-04 23:15:54 +01:00
uts-server/goodies/format

11 lines
374 B
Plaintext
Raw Permalink Normal View History

2016-08-23 19:38:39 +02:00
#!/bin/sh
cd `dirname $0`/../
clang-format -style="{BasedOnStyle: llvm, IndentWidth: 4, AllowShortFunctionsOnASingleLine: None, KeepEmptyLinesAtTheStartOfBlocks: false}" -i \
`find ./src/ ./inc/ -type f -name "*.cpp" -o \
-type f -name "*.c" -o \
-type f -name "*.h" -o \
-type f -name "*.hpp"`