1
0
mirror of https://github.com/kakwa/uts-server synced 2024-11-14 13:38:54 +01:00
uts-server/goodies/format
2016-08-23 19:38:39 +02:00

11 lines
374 B
Bash
Executable File

#!/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"`