turns out the buildsetting stuff was added in go 1.18
Ted Unangst tedu@tedunangst.com
Sun, 13 Aug 2023 23:54:24 -0400
4 files changed,
11 insertions(+),
6 deletions(-)
M
README
→
README
@@ -20,7 +20,7 @@
## build It should be sufficient to type make after unpacking a release. -You'll need a go compiler version 1.16 or later. And libsqlite3. +You'll need a go compiler version 1.18 or later. And libsqlite3. Even on a fast machine, building from source can take several seconds.
M
docs/honk.8
→
docs/honk.8
@@ -41,7 +41,7 @@ .Ed
.Ss Build Building .Nm -requires a go compiler 1.16 and libsqlite. +requires a go compiler 1.18 and libsqlite. On .Ox this is the go and sqlite3 packages.
M
go.mod
→
go.mod
@@ -1,6 +1,6 @@
module humungus.tedunangst.com/r/honk -go 1.16 +go 1.18 require ( github.com/andybalholm/cascadia v1.3.1@@ -11,3 +11,8 @@ golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4
humungus.tedunangst.com/r/go-sqlite3 v1.1.3 humungus.tedunangst.com/r/webs v0.6.68 ) + +require ( + github.com/rivo/uniseg v0.2.0 // indirect + golang.org/x/image v0.0.0-20220413100746-70e8d0d3baa9 // indirect +)
M
preflight.sh
→
preflight.sh
@@ -1,11 +1,11 @@
set -e -go version > /dev/null 2>&1 || (echo go 1.16+ is required && false) +go version > /dev/null 2>&1 || (echo go 1.18+ is required && false) v=`go version | egrep -o "go1\.[^.]+"` || echo failed to identify go version -if [ "$v" \< "go1.16" ] ; then +if [ "$v" \< "go1.18" ] ; then echo go version is too old: $v - echo go 1.16+ is required + echo go 1.18+ is required false fi