mirror of
https://github.com/vale981/apheleia
synced 2025-03-05 09:31:40 -05:00

While running a full `make fmt-build`, I got some failures with installer scripts for golang formatters. This fixes the problem by installing an up-to-date golang instead of the version available in ubuntu 20.04. The ppa used here, `longsleep/golang-backports` is [recommended](https://github.com/golang/go/wiki/Ubuntu) by the Go project. --------- Co-authored-by: Radon Rosborough <radon@intuitiveexplanations.com>
3 lines
127 B
Bash
3 lines
127 B
Bash
apt-get install -y golang-go
|
|
go install golang.org/x/tools/cmd/goimports@latest
|
|
cp -L "$HOME/go/bin/goimports" /usr/local/bin/
|