-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.code
More file actions
34 lines (27 loc) · 803 Bytes
/
Makefile.code
File metadata and controls
34 lines (27 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.PHONY: fmt check clippy pre-commit code-help release clean-rust info shell
code-help:
@echo "🧹 Code Quality"
@echo "================"
@echo " make fmt - Format code with cargo fmt"
@echo " make check - Check code compilation"
@echo " make clippy - Run clippy linter"
@echo " make pre-commit - Run formatting and compilation checks"
@echo " make release - Build release binary"
@echo " make clean-rust - Clean Rust artifacts"
@echo " make info - Show project info"
# Utility commands
fmt:
cargo fmt
check:
cargo check
clippy:
cargo clippy
# Pre-commit checks (same as git hook)
pre-commit: fmt check
@echo "✅ All pre-commit checks passed!"
# Production build
release:
cargo build --release
# Clean Rust artifacts
clean-rust:
cargo clean