prometeu-runtime/Makefile
2026-04-08 06:56:09 +01:00

30 lines
888 B
Makefile

.PHONY: fmt fmt-check clippy tes-local test-debugger-socket test ci cobertura
fmt:
cargo fmt
fmt-check:
cargo fmt -- --check
clippy:
cargo clippy --workspace --all-features
test-local:
cargo test --workspace --all-targets --all-features --no-fail-fast
test-debugger-socket:
cargo test -p prometeu-host-desktop-winit --lib -- --ignored
coverage:
cargo llvm-cov --workspace --all-features --html --output-dir target/llvm-cov/html --fail-under-lines 20 --fail-under-functions 20 --fail-under-regions 20
coverage-xml:
cargo llvm-cov report --workspace --all-features --cobertura --output-path target/llvm-cov/cobertura.xml
coverage-json:
cargo llvm-cov report --workspace --all-features --json --summary-only --output-path target/llvm-cov/summary.json
test: fmt-check clippy test-local test-debugger-socket
ci: fmt-check clippy coverage
cobertura: coverage-xml coverage-json