1 changed file
golang_install.sh | ||
Add comment 23 echo
Add comment 24 echo "Takes a list of go tool names as arguments or .txt files containing lists of tools (one per line)"
Add comment 25 echo
Add comment 26 Plus echo "To skip Golang tools that fail to install, set this in environment:"
Add comment 27 Plus echo
Add comment 28 Plus echo "export GOLANG_SKIP_FAILURES=1"
Add comment 29 Plus echo
Add comment 26 30 echo "usage: ${0##*} <list_of_tools>"
Add comment 27 31 echo
Add comment 28 32 exit 3
Add comment 92 96 echo "$envopts $go install $opts $go_tool"
Add comment 93 97 # want splitting of opts and tools
Add comment 94 98 # shellcheck disable=SC2086
Add comment 99 Plus if [ -n "${GOLANG_SKIP_FAILURES:-}" ]; then
Add comment 100 Plus set +eo pipefail
Add comment 95 101 eval $envopts "$go" install $opts "$go_tool"
Add comment 102 Plus set +eu pipefail
Add comment 103 Plus fi
Add comment 96 104 done
Add comment 97 105