code-graph-cli 1.0.1

Code intelligence engine for TypeScript/JavaScript — query the dependency graph instead of reading source files.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.PHONY: setup fmt check

# Install version-controlled git hooks
setup:
	git config core.hooksPath .githooks
	@echo "Git hooks installed. Pre-push checks (fmt + clippy) are now active."

# Format all code
fmt:
	cargo fmt --all

# Run formatting and clippy checks (mirrors CI and pre-push hook)
check:
	cargo fmt --all -- --check && RUSTFLAGS="-Dwarnings" cargo clippy --all-targets --all-features