add dev/sync-uv script

This commit is contained in:
Bowen Liang 2025-03-20 23:57:14 +08:00
parent 4390fa4155
commit 06a7972cf8

10
dev/sync-uv Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
# rely on `uv` in path
if ! command -v uv &> /dev/null; then
echo "Installing uv ..."
pip install uv
fi
# check uv.lock in sync with pyproject.toml
uv lock --project api