.PHONY: run test lint format build publish mcp clean

run:
	uv run python -m harness_browser

test:
	uv run pytest tests/ -v --cov=harness_browser --cov-report=term-missing

lint:
	uv run ruff check src/ tests/
	uv run mypy src/

format:
	uv run ruff format src/ tests/

build:
	uv build

publish:
	uv publish

mcp:
	uv run python -m harness_browser.mcp_server

clean:
	rm -rf dist/ build/ .coverage htmlcov/ .mypy_cache/ .ruff_cache/ __pycache__
