From 81301f288ee921df9ed30d31a2cf7adb3c02fc1c Mon Sep 17 00:00:00 2001 From: Trevor Merritt Date: Sat, 13 Jul 2024 14:49:42 -0400 Subject: [PATCH] Adds basic rust setup --- scripts/installPackages.sh | 2 +- scripts/setupRust.sh | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 scripts/setupRust.sh diff --git a/scripts/installPackages.sh b/scripts/installPackages.sh index 5e770fa..cfc4f02 100755 --- a/scripts/installPackages.sh +++ b/scripts/installPackages.sh @@ -4,4 +4,4 @@ sudo apt install \ remmina remmina-plugin-vnc remmina-plugin-rdp \ zsh zsh-syntax-highlighting \ - nmap tmux nmon htop -y + nmap tmux nmon htop sccache -y diff --git a/scripts/setupRust.sh b/scripts/setupRust.sh new file mode 100644 index 0000000..161c0ff --- /dev/null +++ b/scripts/setupRust.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +echo Setting up Rust dev environment + +# update with rustup +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y -q + +# Installing Cargo plugins. +cargo install cargo-cache