/ Makefile
Makefile
 1  .PHONY: help build test check fmt fmt-check clippy ci clean
 2  
 3  help:
 4  	@printf "Targets:\n"
 5  	@printf "  build      Build the project\n"
 6  	@printf "  test       Run tests\n"
 7  	@printf "  check      Type-check without producing artifacts\n"
 8  	@printf "  fmt        Format code\n"
 9  	@printf "  fmt-check  Verify formatting\n"
10  	@printf "  clippy     Run clippy lints\n"
11  	@printf "  ci         Run the CI command set\n"
12  	@printf "  clean      Remove build artifacts\n"
13  
14  build:
15  	cargo build
16  
17  test:
18  	cargo test
19  
20  check:
21  	cargo check
22  
23  fmt:
24  	cargo fmt
25  
26  fmt-check:
27  	cargo fmt -- --check
28  
29  clippy:
30  	cargo clippy --all-targets --all-features -- -D warnings
31  
32  ci:
33  	cargo build --verbose
34  	cargo test --verbose
35  	cargo fmt -- --check
36  
37  clean:
38  	cargo clean