help:
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-25s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
build:
cargo build --all-targets --all-features --workspace
check-fmt:
cargo fmt --all -- --check
check-clippy:
cargo clippy --all-targets --all-features --workspace -- -D warnings
check: check-fmt check-clippy
doc-test:
cargo test --no-fail-fast --doc --all-features --workspace
unit-test: doc-test
cargo test --no-fail-fast --lib --all-features --workspace
test: doc-test
cargo test --no-fail-fast --all-targets --all-features --workspace
clean:
cargo clean