Files
exo/justfile
Andrei Cravtov 8d2536d926 Implemented basic discovery library in Rust + python bindings
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>
2025-07-23 13:11:29 +01:00

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