cfg/bin/update-gotools
Knut Ahlers 687a3ba947
Migrate to go-version of update-gotools
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-20 23:15:10 +01:00

11 lines
201 B
Bash
Executable file

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