chore(scripts): more work on installation scripts

This commit is contained in:
2023-09-28 18:59:21 +03:00
parent 68ec53e29b
commit 594ee0d03c
4 changed files with 10 additions and 5 deletions

View File

@@ -4,6 +4,8 @@
# shellcheck source=shared.sh
source "$HOME/.dotfiles/scripts/shared.sh"
msg "Starting to install rust/cargo packages"
! have cargo && {
msg "cargo could not be found. installing cargo with rustup.rs"
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path
@@ -12,6 +14,8 @@ source "$HOME/.dotfiles/scripts/shared.sh"
source "$CARGO_HOME/env"
packages=(
# An incremental parsing system for programming tools
"tree-sitter-cli"
# a subprocess caching utility
"bkt"
# a structural diff that understands syntax