/
githubmirror
/
origin
Обзор
Документация
Войти
/
githubmirror
/
origin
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
hack/install-std-race.sh
14 строк
347 B
Alex Crawford
Use a more portable shell invocation
03 дек 2018, 22:24
03 дек 2018, 22:24
e0d06d8
Код
Авторство
О чём код?
#!/usr/bin/env bash # This script installs std -race on Travis (see https://code.google.com/p/go/issues/detail?id=6479) set -e if [ "${TRAVIS}" == "true" ]; then GO_VERSION=($(go version)) if [ ${GO_VERSION[2]} \< "go1.3" ]; then echo "Installing the -race compatible version of the std go library" go install -a -race std fi fi