mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
more tests
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
# Detect Python-version with Pipenv.
|
||||
|
||||
if [[ -f $BUILD_DIR/Pipfile.lock ]]; then
|
||||
if [[ -f $BUILD_DIR/Pipfile ]]; then
|
||||
|
||||
if [[ ! -f $BUILD_DIR/runtime.txt ]]; then
|
||||
if [[ ! -f Pipfile.lock ]]; then
|
||||
pipenv lock 2> /dev/null
|
||||
puts-step "Pipfile.lock not found, creating..."
|
||||
/app/.heroku/python/bin/pipenv lock 2> /dev/null
|
||||
fi
|
||||
|
||||
set +e
|
||||
|
||||
Reference in New Issue
Block a user