lynx_eye 0.0.2

A code complexity analyzer for JavaScript, TypeScript, and Rust using tree-sitter. Calculates NLOC, CCN, token count, and complexity scores.
Documentation
# Makefile for Lynx Eye

.PHONY: build test test-demos clean

# Build the project
build:
	cargo build --release

# Run unit tests
test:
	cargo test

# Test all demo files
test-demos: build
	@echo "🔍 Testing all demo files..."
	@for file in demo/*.js demo/*.ts; do \
		if [ -f "$$file" ]; then \
			echo "📄 $$file"; \
			echo "----------------------------------------"; \
			./target/release/lynx_eye "$$file"; \
			echo ""; \
		fi; \
	done

# Quick test using debug build
test-demos-debug:
	@echo "🔍 Testing all demo files (debug build)..."
	@for file in demo/*.js demo/*.ts; do \
		if [ -f "$$file" ]; then \
			echo "📄 $$file"; \
			echo "----------------------------------------"; \
			cargo run --quiet "$$file" 2>/dev/null || echo "⚠️  Error analyzing $$file"; \
			echo ""; \
		fi; \
	done

# Clean build artifacts
clean:
	cargo clean

# Install (build release version)
install: build
	@echo "✅ Build complete! Binary available at ./target/release/lynx_eye"