diff options
Diffstat (limited to 'bin/setup-go')
-rwxr-xr-x | bin/setup-go | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/bin/setup-go b/bin/setup-go deleted file mode 100755 index 7b0f281..0000000 --- a/bin/setup-go +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -# This script is idempotent. - -# If GOPATH is set, check that it the path exists -if [ -n "${GOPATH}" ]; then - if [ ! -d "${GOPATH}" ]; then - echo "$GOPATH is set but the directory does not exist." - exit 1 - fi -fi - -# Check the version -version=$(go version) - -# Install extra tools - -# These one are for code completion -go get -u github.com/nsf/gocode -go get -u github.com/rogpeppe/godef -go get -u golang.org/x/tools/cmd/guru -go get -u golang.org/x/tools/cmd/goimports |