Remove QML from format script (it causes too many issues)
This commit is contained in:
parent
570d00b000
commit
c8879e7c07
@ -14,17 +14,4 @@ do
|
|||||||
clang-format -i "$f"
|
clang-format -i "$f"
|
||||||
done;
|
done;
|
||||||
|
|
||||||
QMLFORMAT_PATH=$(command -v qmlformat || true)
|
|
||||||
|
|
||||||
if [ -n "$QMLFORMAT_PATH" ]; then
|
|
||||||
QML_FILES=$(find resources -type f -iname "*.qml")
|
|
||||||
|
|
||||||
for f in $QML_FILES
|
|
||||||
do
|
|
||||||
$QMLFORMAT_PATH -i "$f"
|
|
||||||
done;
|
|
||||||
else
|
|
||||||
echo "qmlformat not found; skipping qml formatting"
|
|
||||||
fi
|
|
||||||
|
|
||||||
git diff --exit-code
|
git diff --exit-code
|
||||||
|
Loading…
Reference in New Issue
Block a user