mirror of https://github.com/tidwall/tile38.git
require Go 1.7
This commit is contained in:
parent
3fae3f70eb
commit
14cc6cedf7
4
build.sh
4
build.sh
|
@ -65,9 +65,9 @@ if [ "$GOVERS" != "devel" ]; then
|
|||
return
|
||||
}
|
||||
GOVERS="${GOVERS:2}"
|
||||
EQRES=$(vercomp "$GOVERS" "1.5")
|
||||
EQRES=$(vercomp "$GOVERS" "1.7")
|
||||
if [ "$EQRES" == "-1" ]; then
|
||||
echo "error: Go '1.5' or greater is required and '$GOVERS' is currently installed. Please upgrade Go at https://golang.org/dl to continue."
|
||||
echo "error: Go '1.7' or greater is required and '$GOVERS' is currently installed. Please upgrade Go at https://golang.org/dl to continue."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue