Newer
Older
# Runs the Clang Formatter
# Return codes:
# - 1 there are files to be formatted
# - 0 everything looks fine
FILES=$(find src -type f \( -iname "*.cpp" -o -iname "*.h" \))
QMLFORMAT_PATH=$(command -v qmlformat || true)
QML_FILES=$(find resources -type f -iname "*.qml")
for f in $QML_FILES
do
else
echo "qmlformat not found; skipping qml formatting"