.PHONY: help run test fmt clippy check commit
help:
@echo "Available commands:"
@echo " run - Launch the program"
@echo " test - Run all tests"
@echo " fmt - Format code with cargo fmt"
@echo " clippy - Run linter with cargo clippy"
@echo " check - Run fmt, clippy and test before committing"
@echo " help - Show this help message"
run:
cargo run
test:
cargo test
fmt:
cargo fmt
clippy:
cargo clippy -- -D warnings
check: fmt clippy test