mirror of
https://github.com/exo-explore/exo.git
synced 2025-12-23 14:17:58 -05:00
32 lines
818 B
Makefile
32 lines
818 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/*
|
|
|
|
check:
|
|
basedpyright --project pyproject.toml
|
|
|
|
sync:
|
|
uv sync --all-packages
|
|
|
|
protobufs:
|
|
just regenerate-protobufs
|
|
|
|
build: regenerate-protobufs
|
|
uv build --all-packages
|