github.com/thediveo/gons@v0.9.9/scripts/chores.sh (about) 1 #!/bin/bash 2 set -e 3 4 echo "checking pkgsite..." 5 go install golang.org/x/pkgsite/cmd/pkgsite@latest 6 7 echo "checking govulncheck..." 8 go install golang.org/x/vuln/cmd/govulncheck@latest 9 10 echo "checking gobadge..." 11 go install github.com/AlexBeauchemin/gobadge@latest 12 13 echo "checking goreportcard and friends..." 14 GOREPORTCARDTMPDIR="$(mktemp -d)" 15 trap 'rm -rf -- "$GOREPORTCARDTMPDIR"' EXIT 16 git clone https://github.com/gojp/goreportcard.git "$GOREPORTCARDTMPDIR" 17 (cd "$GOREPORTCARDTMPDIR" && make install && go install ./cmd/goreportcard-cli) 18 go install github.com/gordonklaus/ineffassign@latest 19 go install github.com/client9/misspell/cmd/misspell@latest 20 21 echo "checking pkgsite NPM helpers..." 22 (cd $HOME && npm update --silent browser-sync) 23 (cd $HOME && npm update --silent nodemon)