.PHONY: all build test doc clean quality fmt lint check-outdated audit
all: build
build:
cargo build
release:
cargo build --release
run:
cargo run
test:
cargo test
doc:
cargo doc --no-deps
clean:
cargo clean
fmt:
cargo fmt
lint:
cargo clippy -- -D warnings
check-outdated:
cargo outdated
audit:
cargo audit
quality:
bash scripts/check_quality.sh
dev-deps:
cargo install cargo-audit cargo-outdated
help:
@echo "Available targets:"
@echo " all - Build the project (default)"
@echo " build - Build the project"
@echo " release - Build with release optimization"
@echo " run - Run the project"
@echo " test - Run tests"
@echo " doc - Generate documentation"
@echo " clean - Clean build artifacts"
@echo " fmt - Format code"
@echo " lint - Run linter"
@echo " check-outdated - Check for outdated dependencies"
@echo " audit - Run security audit"
@echo " quality - Run all quality checks"
@echo " dev-deps - Install development dependencies"
@echo " help - Show this help message"