Check for pipenv and error out if not present

This commit is contained in:
Devon Mackay 2018-07-10 12:01:56 -04:00
parent 9dbc6cd180
commit 0535a45bd9

View File

@ -20,7 +20,11 @@ fi
rm -rf ./node_modules
if [ "${CREATE_VENV}" = "true" ]; then
install_pipenv
# Ensure pipenv is installed
if ! check_system_pip_for pipenv; then
echo "ERROR: pipenv is required but is not present"
exit 1
fi
create_virtual_environment
fi