Adds basic rust setup

removes kotlin stuff.
This commit is contained in:
tmerritt committed 2024-07-15 09:23:14 -04:00
1 parent 161156f7c2
commit 8df246c058
8 files changed
+37 -36

No files matched your search

+1 -1
View File
@@ -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
-16
View File
@@ -7,19 +7,3 @@ echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https:/
sudo apt-get update
sudo apt-get install -y kubectl
(
set -x; cd "$(mktemp -d)" &&
OS="$(uname | tr '[:upper:]' '[:lower:]')" &&
ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" &&
KREW="krew-${OS}_${ARCH}" &&
curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/${KREW}.tar.gz" &&
tar zxvf "${KREW}.tar.gz" &&
./"${KREW}" install krew
)
for n in $(cat ~/.dotfiles/scripts/krew.plugins.txt)
do
echo "Installing $n"
kubectl krew install "$n"
done
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
echo Setting up Rust dev environment
sudo apt install lcov grcov
# update with rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y -q
# Add source to rustup
rustup component add rust-src
# Add coverage assistance
rustup component add llvm-tools-preview
# Installing Cargo plugins.
cargo install cargo-cache