# Default recipe
default: lint build
# Run formatter and clippy
lint:
cargo fmt --check
cargo clippy -- -D warnings
# Format code
fmt:
cargo fmt
# Build release binary
build:
cargo build --release
# Run with example duration and command
run *ARGS:
cargo run -- {{ARGS}}
# Clean build artifacts
clean:
cargo clean