install:
rust-version:
@echo "Rust command-line utility versions:"
rustc --version cargo --version rustfmt --version rustup --version clippy-driver --version
format:
@echo "Formatting all projects with cargo"
cargo fmt --
lint:
@echo "Linting all projects with cargo"
@rustup component add clippy 2> /dev/null
cargo clippy --package jams-client --all-targets --all-features -- -D warnings
nextest:
@echo "Testing all projects with cargo nextest"
cargo nextest run -p jams-client --retries 2
test:
@echo "Testing all projects with cargo test"
cargo test
all: format lint test