mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-29 09:37:57 +08:00
14 lines
256 B
Bash
Executable File
14 lines
256 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# rely on `uv` in path
|
|
if ! command -v uv &> /dev/null; then
|
|
echo "Installing uv ..."
|
|
pip install uv
|
|
fi
|
|
|
|
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
|
cd "$SCRIPT_DIR/.."
|
|
|
|
# check uv.lock in sync with pyproject.toml
|
|
uv lock --project api
|