mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-06 05:08:14 +08:00
14 lines
287 B
Bash
Executable File
14 lines
287 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# rely on `poetry` in path
|
|
if ! command -v poetry &> /dev/null; then
|
|
echo "Installing Poetry ..."
|
|
pip install poetry
|
|
fi
|
|
|
|
# refreshing lockfile, updating locked versions
|
|
poetry update -C api
|
|
|
|
# check poetry.lock in sync with pyproject.toml
|
|
poetry check -C api --lock
|