all repos — honk @ 75d50653d5d11dce7a63f350e50ac937396ae18b

my fork of honk

turns out the buildsetting stuff was added in go 1.18
Ted Unangst tedu@tedunangst.com
Sun, 13 Aug 2023 23:54:24 -0400
commit

75d50653d5d11dce7a63f350e50ac937396ae18b

parent

cb2e8a0480bcac7e2a07fec3b653f55c1413c8f8

4 files changed, 11 insertions(+), 6 deletions(-)

jump to
M READMEREADME

@@ -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.8docs/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.modgo.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.shpreflight.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