X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/66f1be77149feb033e3adc17c37a09a391eec6e9..d687fed365e545dea1c9283e917e05bb2a4ed07c:/sdk/go/go.sh diff --git a/sdk/go/go.sh b/sdk/go/go.sh index 89f81fb910..5553567287 100755 --- a/sdk/go/go.sh +++ b/sdk/go/go.sh @@ -1,6 +1,11 @@ #! /bin/sh -rootdir=$(dirname $0) +# Wraps the 'go' executable with some environment setup. Sets GOPATH, creates +# 'pkg' and 'bin' directories, automatically installs dependencies, then runs +# the underlying 'go' executable with any command line parameters provided to +# the script. + +rootdir=$(readlink -f $(dirname $0)) GOPATH=$rootdir:$GOPATH export GOPATH