From d23844f4e94ed48411071333f0119ad95201b2ba Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Wed, 19 Jul 2023 01:25:39 +0700 Subject: [PATCH] chore(scripts): move to go install as much as possible --- scripts/go.sh | 9 +++++++++ scripts/macports_init.sh | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/scripts/go.sh b/scripts/go.sh index 10a1a61..4cab425 100755 --- a/scripts/go.sh +++ b/scripts/go.sh @@ -1,8 +1,17 @@ #!/usr/bin/env bash +go install github.com/dundee/gdu/v5/cmd/gdu@latest +go install github.com/muesli/duf@latest +go install github.com/charmbracelet/glow@latest + 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 github.com/mikefarah/yq/v4@latest +go install github.com/itchyny/gojq/cmd/gojq@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 diff --git a/scripts/macports_init.sh b/scripts/macports_init.sh index 07df035..a0c42a5 100755 --- a/scripts/macports_init.sh +++ b/scripts/macports_init.sh @@ -2,6 +2,6 @@ port install \ git neovim \ - fd bat ripgrep difftastic git-delta exa zellij fdupes rclone restic tealdeer task gdu duf glow \ + fd bat ripgrep difftastic git-delta exa zellij fdupes rclone restic tealdeer task \ nnn imagemagick ffmpegthumbnailer asciinema agg android-platform-tools scrcpy libjxl yt-dlp \ - lua-language-server yq jq + pipx lua-language-server