newt; go version requirement is now 1.7.
diff --git a/INSTALLING.md b/INSTALLING.md
index 8a0a0a5..9e8e214 100644
--- a/INSTALLING.md
+++ b/INSTALLING.md
@@ -11,7 +11,7 @@
# Installing From Source
The newt tool is written in Go (https://golang.org/). In order to build Apache
-Mynewt, you must have Go 1.5 or later installed on your system. Please visit
+Mynewt, you must have Go 1.7 or later installed on your system. Please visit
the Golang website for more information on installing Go (https://golang.org/).
Once you have Go installed, you can build newt by running the contained
diff --git a/build.sh b/build.sh
index d4f108f..9405e6b 100755
--- a/build.sh
+++ b/build.sh
@@ -26,7 +26,7 @@
)
}
-### Ensure >= go1.5 is installed.
+### Ensure >= go1.7 is installed.
go_ver_str="$(go version | cut -d ' ' -f 3)"
go_ver="${go_ver_str#go}"
@@ -49,9 +49,9 @@
go_min=0
fi
-if [ ! "$go_maj" -gt 1 ] && [ ! "$go_min" -ge 5 ]
+if [ ! "$go_maj" -gt 1 ] && [ ! "$go_min" -ge 7 ]
then
- printf "* Error: go 1.5 or later is required (detected version: %s)\n" \
+ printf "* Error: go 1.7 or later is required (detected version: %s)\n" \
"$go_maj"."$go_min".X
exit 1
fi