mirror of
https://github.com/exo-explore/exo.git
synced 2025-12-23 22:27:50 -05:00
Co-authored-by: Gelu Vrabie <gelu@exolabs.net> Co-authored-by: Seth Howes <sethshowes@gmail.com> Co-authored-by: Matt Beton <matthew.beton@gmail.com>
35 lines
912 B
Makefile
35 lines
912 B
Makefile
regenerate-protobufs:
|
|
#!/usr/bin/env bash
|
|
if [ -f shared/protobufs/schemas/*.proto ]; then
|
|
protoc --proto_path=shared/protobufs/schemas --python_out=shared/protobufs/types --pyi_out=shared/protobufs/types shared/protobufs/schemas/*.proto
|
|
uv run ruff format ./shared/protobufs/types
|
|
else
|
|
echo "No .proto files found in shared/protobufs/schemas/"
|
|
fi
|
|
|
|
fmt:
|
|
uv run ruff format master worker shared engines/*
|
|
|
|
lint:
|
|
uv run ruff check --fix master worker shared engines/*
|
|
|
|
lint-check:
|
|
uv run ruff check master worker shared engines/*
|
|
|
|
test:
|
|
uv run pytest master worker shared engines/* rust/exo_pyo3_bindings/tests
|
|
|
|
check:
|
|
uv run basedpyright --project pyproject.toml
|
|
|
|
sync:
|
|
uv sync --all-packages
|
|
|
|
sync-clean:
|
|
uv sync --all-packages --force-reinstall
|
|
|
|
protobufs:
|
|
just regenerate-protobufs
|
|
|
|
build: regenerate-protobufs
|
|
uv build --all-packages
|