Files
heroku-buildpack-python/bin/steps/mercurial
T
2019-10-07 16:41:07 -07:00

10 lines
262 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
"$BUILD_DIR/.heroku/python/bin/pip" install mercurial | cleanup | indent
mcount "steps.mercurial"
fi
fi