chore: enhance dev script robustness by determining the script directory (#19209)

This commit is contained in:
Rajhans Jadhao
2025-05-06 14:32:40 +05:30
committed by GitHub
parent 3ecc1e0228
commit 8de24bc16e
10 changed files with 30 additions and 0 deletions

View File

@@ -6,5 +6,8 @@ if ! command -v uv &> /dev/null; then
pip install uv
fi
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
cd "$SCRIPT_DIR/.."
# check uv.lock in sync with pyproject.toml
uv lock --project api