cfg/bin/update-gotools
Knut Ahlers 6727a3fbfe
Ensure to pull latest code version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-04-06 11:51:28 +02:00

11 lines
204 B
Bash
Executable file

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