add a bit more verbose output to install-deps.sh

This commit is contained in:
Gered 2024-11-10 14:29:56 -05:00
parent 6e127fb0ee
commit 9d789aa496

View file

@ -10,12 +10,14 @@ sudo emerge -av --noreplace \
# don't want to be root for this, rustup is typically installed by non-root users and won't be # don't want to be root for this, rustup is typically installed by non-root users and won't be
# present for root at all. # present for root at all.
echo "Installing rust dependencies"
if ! command -v rustup &> /dev/null; then if ! command -v rustup &> /dev/null; then
echo "Not installing rust-analyzer, rustup not found." echo "Not installing rust-analyzer, rustup not found. Run 'install_rustup' first!"
else else
rustup component add rust-src rust-analyzer rustup component add rust-src rust-analyzer
fi fi
echo "Installing customized llm-ls binary"
if [ ! -f "${HOME}/.cargo/bin/llm-ls" ]; then if [ ! -f "${HOME}/.cargo/bin/llm-ls" ]; then
echo "Downloading llm-ls binary" echo "Downloading llm-ls binary"
mkdir -p "${HOME}/.cargo/bin" mkdir -p "${HOME}/.cargo/bin"