SHELL := /bin/bash
.PHONY: help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}'
clean:
cargo clean
build:
cargo build
lint:
@rustup component add clippy 2> /dev/null
cargo clippy
fmt:
@rustup component add rustfmt 2> /dev/null
cargo fmt