python-poetry/build-check.sh

11 lines
217 B
Bash

#!/bin/bash
POETRYLOCK=./poetry/poetry.lock
REQUIREMENTS=./poetry/requirements.txt
if [ -f "$POETRYLOCK" ] && [ -f "$REQUIREMENTS" ]; then
echo "poetry.lock and requirements.txt created successfully"
exit 0
fi