diff --git a/makefile b/makefile index 79920f3..9702f76 100644 --- a/makefile +++ b/makefile @@ -26,6 +26,7 @@ help: @echo "rs-format formats Rust code with Rustfmt" @echo "rs-lint lint check Rust code with Clippy" @echo "rs-test runs all Rust tests" + @echo "qml-fmt format QML code with qmlformat" @echo "check-cpp runs all C++ checks" @echo "check-py runs all Python checks" @echo "check-rs runs all Rust checks" @@ -81,13 +82,14 @@ rs-test: cd ./zshell-img-tools/ && cargo test # Qml - +qml-fmt: + find -name '*.qml' -exec /usr/lib/qt6/bin/qmlformat -i {} + # Full checks check-cpp: $(MAKE) cpp-fmt $(MAKE) cpp-lint - $(MAKE) install + $(MAKE) compile check-rs: $(MAKE) rs-fmt