make install.sh tell us what it is installing and why

This commit is contained in:
Niko Matsakis 2018-01-23 10:55:16 -05:00
parent 016260eaf2
commit a1cb3131b5

View file

@ -2,9 +2,15 @@
set -ex
if command -v mdbook >/dev/null 2>&1; then
echo "installing mdbook"
cargo install mdbook --vers "0.0.28"
else
echo "mdbook already installed at $(which mdbook)"
fi
if command -v ghp-import >/dev/null 2>&1; then
echo "installing ghp-import"
pip install ghp-import
else
echo "ghp-import already installed at $(which ghp-import)"
fi