Develop: Update install-go-tools.sh #3555
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
68b40babfa
commit
70ad541c01
1 changed files with 2 additions and 2 deletions
4
scripts/dist/install-go-tools.sh
vendored
4
scripts/dist/install-go-tools.sh
vendored
|
@ -41,11 +41,11 @@ mkdir -p "$GOPATH/src"
|
||||||
case $DESTARCH in
|
case $DESTARCH in
|
||||||
arm | ARM | aarch | armv7l | armhf)
|
arm | ARM | aarch | armv7l | armhf)
|
||||||
# no additional tools on ARMv7 to reduce build time
|
# no additional tools on ARMv7 to reduce build time
|
||||||
echo "Skipping installation of goimports, go-mod-outdated, and richgo."
|
echo "Skipping installation of Go tools."
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo "Installing goimports, go-mod-outdated, and richgo in /usr/local/bin..."
|
echo "Installing Go tools in /usr/local/bin..."
|
||||||
GOBIN="/usr/local/bin" go install golang.org/x/tools/cmd/goimports@latest
|
GOBIN="/usr/local/bin" go install golang.org/x/tools/cmd/goimports@latest
|
||||||
GOBIN="/usr/local/bin" go install github.com/psampaz/go-mod-outdated@latest
|
GOBIN="/usr/local/bin" go install github.com/psampaz/go-mod-outdated@latest
|
||||||
GOBIN="/usr/local/bin" go install github.com/mikefarah/yq/v4@latest
|
GOBIN="/usr/local/bin" go install github.com/mikefarah/yq/v4@latest
|
||||||
|
|
Loading…
Reference in a new issue