feat(makefile): added qmlformat + install -> compile in cpp step
This commit is contained in:
@@ -26,6 +26,7 @@ help:
|
|||||||
@echo "rs-format formats Rust code with Rustfmt"
|
@echo "rs-format formats Rust code with Rustfmt"
|
||||||
@echo "rs-lint lint check Rust code with Clippy"
|
@echo "rs-lint lint check Rust code with Clippy"
|
||||||
@echo "rs-test runs all Rust tests"
|
@echo "rs-test runs all Rust tests"
|
||||||
|
@echo "qml-fmt format QML code with qmlformat"
|
||||||
@echo "check-cpp runs all C++ checks"
|
@echo "check-cpp runs all C++ checks"
|
||||||
@echo "check-py runs all Python checks"
|
@echo "check-py runs all Python checks"
|
||||||
@echo "check-rs runs all Rust checks"
|
@echo "check-rs runs all Rust checks"
|
||||||
@@ -81,13 +82,14 @@ rs-test:
|
|||||||
cd ./zshell-img-tools/ && cargo test
|
cd ./zshell-img-tools/ && cargo test
|
||||||
|
|
||||||
# Qml
|
# Qml
|
||||||
|
qml-fmt:
|
||||||
|
find -name '*.qml' -exec /usr/lib/qt6/bin/qmlformat -i {} +
|
||||||
|
|
||||||
# Full checks
|
# Full checks
|
||||||
check-cpp:
|
check-cpp:
|
||||||
$(MAKE) cpp-fmt
|
$(MAKE) cpp-fmt
|
||||||
$(MAKE) cpp-lint
|
$(MAKE) cpp-lint
|
||||||
$(MAKE) install
|
$(MAKE) compile
|
||||||
|
|
||||||
check-rs:
|
check-rs:
|
||||||
$(MAKE) rs-fmt
|
$(MAKE) rs-fmt
|
||||||
|
|||||||
Reference in New Issue
Block a user