roboden-game
roboden-game copied to clipboard
github.com/golang/[email protected]: missing go.sum entry
Just ran make
on a fresh clone (67e9590) and got this as an error:
$ cd src/
$ make
GOARCH=wasm GOOS=js go build -ldflags="-s -w" -o ../_web/main.wasm cmd/game/main.go
go: github.com/ebitenui/[email protected] requires
github.com/golang/[email protected]: missing go.sum entry; to add it:
go mod download github.com/golang/freetype
Should probably be fixed by now. :sweat_smile: I'm not really following all of the best programming practices while working on this game. :)
Also, building instructions may benefit from some updates. I'll work on that.
But in general, you can do:
# --goos and --goarch are expecting the same values as GOOS and GOARCH env vars
go run ./cmd/builder --goos=linux --goarch=amd64 -o roboden
Then place the roboden_data
somewhere near the binary or specify the --data
argument explicitly.
That should do the trick.