.PHONY: install test live build check clean

install:
	python -m pip install -e ".[dev]"

# Framework-free suite (live tests auto-skip without the frameworks).
test:
	pytest -q

# Live in-framework test for one framework, e.g. `make live EXTRA=crewai`.
# Use a fresh venv per framework (they pin conflicting deps).
live:
	python -m pip install -e ".[$(EXTRA),dev]"
	pytest -q tests/integration/test_live_$(subst -,_,$(EXTRA)).py

build:
	python -m build

check: build
	twine check dist/*

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