2020-04-22 13:17:08 +01:00
|
|
|
#!/usr/bin/env bash
|
2020-05-06 12:43:01 +01:00
|
|
|
set -x
|
2018-11-23 08:19:28 +00:00
|
|
|
SOURCE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
|
|
|
pushd $SOURCE_DIR
|
2020-05-06 12:43:01 +01:00
|
|
|
find . -name "*.qml" -exec qmlfmt -i 2 -w {} \;
|
|
|
|
clang-format -style=file -i $(find src -name "*.cpp" -o -name "*.hpp" -o -name "*.c" -o -name "*.h")
|
|
|
|
#find . -name "*.cpp" -o -name "*.hpp" -o -name "*.c" -o -name "*.h" -exec clang-format -style=file -i {} \;
|
2020-04-22 13:17:08 +01:00
|
|
|
popd
|