cfg/bin/update-gotools

12 lines
204 B
Text
Raw Normal View History

#!/bin/bash
set -euxo pipefail
2016-07-21 13:48:49 +00:00
export GOPATH="${HOME}/gocode"
if [ ! -e ${GOPATH}/bin/update-gotools ]; then
go get -v -u github.com/Luzifer/update-gotools
fi
2016-07-21 13:48:49 +00:00
exec ${GOPATH}/bin/update-gotools "$@"