hacks/golang-binaries-installer/install.sh

30 lines
780 B
Bash
Raw Normal View History

2022-01-07 22:35:47 +00:00
# this is designed to be symlinked to ~/.bashrc.d/999.goinstaller.sh
2022-01-21 06:46:18 +00:00
if ! which mkcert 2>&1 >/dev/null ; then
go install -v filippo.io/mkcert@latest
fi
2022-01-07 22:35:47 +00:00
if ! which certstrap 2>&1 >/dev/null ; then
2022-01-21 06:46:18 +00:00
go install -v github.com/square/certstrap@latest
2022-01-07 22:35:47 +00:00
fi
if ! which f2 2>&1 >/dev/null ; then
2022-01-21 06:46:18 +00:00
go install -v github.com/ayoisaiah/f2/cmd/f2@latest
fi
if ! which pack 2>&1 >/dev/null ; then
go install -v github.com/buildpacks/pack/cmd/pack@latest
2022-01-07 22:35:47 +00:00
fi
2022-02-09 14:49:57 +00:00
if ! which golangci-lint 2>&1 >/dev/null ; then
go install -v github.com/golangci/golangci-lint/cmd/golangci-lint@latest
fi
if ! which gofumpt 2>&1 >/dev/null ; then
go install -v mvdan.cc/gofumpt@latest
fi
2022-11-17 09:12:52 +00:00
if ! which countdown 2>&1 >/dev/null ; then
go install -v github.com/antonmedv/countdown@latest
fi