.PHONY: setup test-setup test lint typecheck build clean

setup:
	# CPU-only torch: the default CUDA wheels (pulled in by sentence-transformers) fill the CI runner disk
	pip install torch --index-url https://download.pytorch.org/whl/cpu
	pip install -e ".[dev]"

test-setup:
	@echo "No additional test setup required"

test:
	pytest tests/

lint:
	ruff check src/ tests/

typecheck:
	mypy src/

build:
	python -m build

clean:
	rm -rf dist/ build/ src/*.egg-info
