.PHONY: install test stubs

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

test:
	python -m pytest -q

# Regenerate the type stub for the wrapper module after changing the public
# surface. Requires the dev extra (synchronicity[compile]). Only _wrapped is
# stubbed — __init__ re-exports models from _models, and a generated whole-package
# __init__.pyi would re-declare them as distinct types (breaking pyright). The
# stub is committed so users get typing without the compile toolchain.
stubs:
	python -m synchronicity.type_stubs archil._wrapped
