devd icon indicating copy to clipboard operation
devd copied to clipboard

Compatiblity with future Go versions

Open Bo98 opened this issue 4 years ago • 2 comments

Just a heads up that Go 1.17 (and the just released 1.16 without first changing GO111MODULE) won't support builds that aren't in module-aware mode.

The master build should work but the last tag (v0.9) does not. Is it possible you can tag a new release for this?

https://blog.golang.org/go116-module-changes

Bo98 avatar Feb 21 '21 20:02 Bo98

Works fine.

$ go version

go version go1.23.6 windows/amd64

$ go install -ldflags="-s -w" github.com/cortesi/devd/cmd/devd@latest

go: downloading github.com/cortesi/devd v0.0.0-20200427000907-c1a3bfba27d8
go: downloading github.com/cortesi/termlog v0.0.0-20190809035425-7871d363854c
go: downloading github.com/toqueteos/webbrowser v1.2.0
go: downloading gopkg.in/alecthomas/kingpin.v2 v2.2.6
go: downloading github.com/GeertJohan/go.rice v1.0.0
go: downloading github.com/cortesi/moddwatch v0.0.0-20190809041828-239a95c12d84
go: downloading github.com/dustin/go-humanize v1.0.0
go: downloading github.com/fatih/color v1.9.0
go: downloading github.com/goji/httpauth v0.0.0-20160601135302-2da839ab0f4d
go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0
go: downloading github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
go: downloading github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d
go: downloading golang.org/x/crypto v0.0.0-20200423211502-4bdfaf469ed5
go: downloading github.com/daaku/go.zipexe v1.0.1
go: downloading github.com/gorilla/websocket v1.4.2
go: downloading github.com/juju/ratelimit v1.0.1
go: downloading github.com/rjeczalik/notify v0.0.0-20181126183243-629144ba06a1
go: downloading github.com/mattn/go-colorable v0.1.6
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/bmatcuk/doublestar v1.3.0
go: downloading golang.org/x/sys v0.0.0-20200420163511-1957bb5e6d1f

$ devd.exe .
Route / -> reads files from .
Listening on http://devd.io (127.0.0.1:80)

sergeevabc avatar Mar 17 '25 23:03 sergeevabc

On the latest version on master, yes. Not on the last tagged release though.

It was fixed in https://github.com/cortesi/devd/commit/4ab3fc9061542fd35b5544627354e5755fa74c1c

From the issue description:

The master build should work but the last tag (v0.9) does not. Is it possible you can tag a new release for this?

Bo98 avatar Mar 17 '25 23:03 Bo98