aboutsummaryrefslogtreecommitdiff
path: root/installer/install-gopls.sh
blob: f50441329774817eda82e24c3920f39ceb12df2a (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -e

cd $(dirname $0)
[ -d ../servers/gopls ] && rm -rf ../servers/gopls
mkdir ../servers/gopls
cd ../servers/gopls
GOPATH=$(pwd) GOBIN=$(pwd) go get -v -u golang.org/x/tools/gopls
rm -rf src