scripts: add cargo, go

main
sudo pacman -Syu 2023-07-01 15:26:58 +07:00
parent 0bbce6ebb8
commit 82575d7109
3 changed files with 19 additions and 2 deletions

8
scripts/cargo.sh Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
rustup update
cargo install \
vivid \
fnm stylua taplo-cli \
pfetch

8
scripts/go.sh Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
go install mvdan.cc/sh/v3/cmd/shfmt@latest
go install golang.org/x/tools/gopls@latest
go install github.com/bufbuild/buf-language-server/cmd/bufls@latest
go install mvdan.cc/gofumpt@latest
go install golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment@latest
go install gotest.tools/gotestsum@latest

View File

@ -2,5 +2,6 @@
port install \ port install \
git neovim \ git neovim \
fd bat ripgrep difftastic git-delta exa zellij fdupes rclone restic tealdeer task gdu duf gitui \ fd bat ripgrep difftastic git-delta exa zellij fdupes rclone restic tealdeer task gdu duf glow \
nnn imagemagick ffmpegthumbnailer asciinema agg android-platform-tools scrcpy nnn imagemagick ffmpegthumbnailer asciinema agg android-platform-tools scrcpy \
yq jq