For now it only moves protoc installation. Support for version-pegging “go get”-able tools is included, but since tools/tools.go lists no tools yet, it is a no-op. The list will be populated/migrated in later commits.pull/668/head
parent
e080bfe902
commit
ca6fd788ce
@ -0,0 +1,15 @@ |
||||
#!/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" |
||||
|
||||
"${progdir}/install_protoc.sh" -V 3.6.1 |
Loading…
Reference in new issue