Files
heroku-buildpack-python/bin/steps/mercurial
T
2019-10-09 15:28:31 +02:00

10 lines
254 B
Bash
Executable File

#!/usr/bin/env bash
# Install Mercurial if it appears to be required.
if [[ -f "requirements.txt" ]]; then
if (grep -Fiq "hg+" requirements.txt) then
/app/.heroku/python/bin/pip install mercurial | cleanup | indent
mcount "steps.mercurial"
fi
fi