Skip to content

Commit

Permalink
Merge pull request #4489 from slanning/go1.11-required
Browse files Browse the repository at this point in the history
require golang version 1.11+
  • Loading branch information
sougou authored Dec 24, 2018
2 parents 23f135e + 1de0558 commit dfc0bb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ function fail() {
[[ "$(dirname "$0")" = "." ]] || fail "bootstrap.sh must be run from its current directory"

go version &>/dev/null || fail "Go is not installed or is not on \$PATH"
[[ "$(go version 2>&1)" =~ go1\.[1-9][1-9] ]] || fail "Go is not version 1.11+"

# Set up the proper GOPATH for go get below.
source ./dev.env
Expand Down

0 comments on commit dfc0bb9

Please sign in to comment.