tuxclocker/clangFormat.sh
2023-07-26 16:32:34 +03:00

9 lines
273 B
Bash
Executable File

#!/usr/bin/env sh
cppPat=(-name "*.cpp" -o -name "*.hpp" -o -name "*.h")
clang-format -i $(
(find src/tuxclocker-qt/ ${cppPat[@]}
find src/tuxclockerd/ ${cppPat[@]}
find src/plugins/ ${cppPat[@]}
find src/lib/ ${cppPat[@]}
find src/include/ -maxdepth 1 ${cppPat[@]}))