2017-02-17 00:16:47 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-02-20 22:15:10 +00:00
|
|
|
set -euxo pipefail
|
2016-07-21 13:48:49 +00:00
|
|
|
|
|
|
|
export GOPATH="${HOME}/gocode"
|
2017-11-18 13:58:52 +00:00
|
|
|
|
2018-02-20 22:15:10 +00:00
|
|
|
if [ ! -e ${GOPATH}/bin/update-gotools ]; then
|
|
|
|
go get -v github.com/Luzifer/update-gotools
|
|
|
|
fi
|
2016-07-21 13:48:49 +00:00
|
|
|
|
2018-02-20 22:15:10 +00:00
|
|
|
exec ${GOPATH}/bin/update-gotools "$@"
|