зеркало из https://github.com/mislav/hub.git
Merge pull request #799 from github/update_version_in_bootstrap_script
Update `script/bootstrap` to recommended Go and Ruby version
This commit is contained in:
Коммит
12c13bb9a4
|
@ -18,14 +18,14 @@ fi
|
||||||
STATUS=0
|
STATUS=0
|
||||||
|
|
||||||
if ! go version; then
|
if ! go version; then
|
||||||
echo "You need to install Go 1.2 to build hub" >&2
|
echo "You need to install Go 1.4.1 or higher to build hub" >&2
|
||||||
STATUS=1
|
STATUS=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ ruby --version
|
{ ruby --version
|
||||||
bundle install --path vendor/bundle -j 4
|
bundle install --path vendor/bundle -j 4
|
||||||
} || {
|
} || {
|
||||||
echo "You need Ruby 2.1 and Bundler to run hub tests" >&2
|
echo "You need Ruby 1.9 or higher and Bundler to run hub tests" >&2
|
||||||
STATUS=1
|
STATUS=1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче