Newer
Older
if [[ ! -f $BUILD_DIR/runtime.txt ]]; then
if [[ ! -f $BUILD_DIR/Pipfile.lock ]]; then
puts-warn "No 'pipfile.lock' found! We recommend you commit this into your repository."
PYTHON=$(jq -r '._meta.requires.python_version' "$BUILD_DIR/Pipfile.lock")
echo "python-2.7.13" > "$BUILD_DIR/runtime.txt"
echo "python-3.6.2" > "$BUILD_DIR/runtime.txt"