123456789101112131415161718 |
- #!/bin/bash
- if ! command -v poetry &> /dev/null; then
- echo "Installing Poetry ..."
- pip install poetry
- fi
- poetry check -C api --lock
- if [ $? -ne 0 ]; then
-
-
- echo "poetry.lock is outdated, refreshing without updating locked versions ..."
- poetry lock -C api
- else
- echo "poetry.lock is ready."
- fi
|