scripts: restore install_build_tools.sh (#4457)
With #4427, the protofiles are generated using a Docker image and thus `protoc` related binaries are not required. However, `mockgen` and `golangci-lint` are still being used by our Travis build. This change restores the file that installs them, and removes `protoc` related files from the list of installations.pull/4458/head
parent
3d8d4557f7
commit
9df6215ab2
@ -0,0 +1,13 @@ |
||||
#!/bin/sh |
||||
|
||||
set -eu |
||||
|
||||
unset -v progdir |
||||
case "${0}" in |
||||
/*) progdir="/";; |
||||
*/*) progdir="${0%/*}";; |
||||
*) progdir="."; |
||||
esac |
||||
|
||||
sed -n 's/^ _ "\([^"]*\)"$/\1/p' "${progdir}/../tools/tools.go" | \ |
||||
xargs "${progdir}/goget.sh" |
Loading…
Reference in new issue