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 559c2cfc4b
commit 573f858c72
1 changed files with 6 additions and 0 deletions

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