# Lingot — umbrella orchestrator. Conducts the worker services (cadastre, chitin,
# oneiros, solver) into a labeled StagedScene. See ../LINGOT.md for the thesis.

# Editable-install Lingot + the sibling worker repos for local dev.
dev-install:
    pip install -e ".[dev]"
    pip install -e ../cadastre || echo "skip cadastre (not pip-installable yet)"
    pip install -e ../chitin   || echo "skip chitin"
    pip install -e ../oneiros  || echo "skip oneiros"

# Run the Python test suite.
test:
    pytest

# Run the pipeline on a spec file.
run spec:
    lingot run {{spec}}

# Build the JS orchestrator (@autarkis/lingot).
ts-build:
    cd ts && npm install && npm run build

# Build the Python wheel.
build:
    python -m build
