mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 00:09:14 +00:00
14 lines
265 B
Bash
14 lines
265 B
Bash
#!/bin/bash
|
|
|
|
command -v poetry >/dev/null 2>&1 || {
|
|
echo "poetry not found. Aborting."
|
|
exit 1
|
|
}
|
|
|
|
if [ ! -f "pyproject.toml" ]; then
|
|
echo "pyproject.toml not found. Aborting."
|
|
exit 1
|
|
fi
|
|
|
|
poetry config virtualenvs.create false
|
|
poetry lock --no-update |