# Makefile for IDE Memory MCP

.PHONY: install test coverage clean

# Install the package in development mode
install:
	uv sync

# Run tests
test:
	python -m pytest tests/ -v

# Run tests with coverage
coverage:
	python -m pytest --cov=src/ide_memory_mcp tests/ -v

# Clean up generated files
clean:
	rm -rf .coverage htmlcov/ .pytest_cache/
	find . -type d -name __pycache__ -delete
	find . -type f -name "*.pyc" -delete