inkwell is now released as engines/inkwell v0.1.0, so the `replace => ../inkwell` directive can go. That directive is why this pipeline was failing: it requires a sibling working copy that only exists on a developer's machine, never in a CI checkout. Module paths follow the org move as well — this repo is demos/, inkwell is engines/ — since Gitea's redirect does not apply to Go module paths. GOPRIVATE is exported from the Makefile: our own modules are not on proxy.golang.org and not in the public checksum database. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
20 lines
365 B
Go
20 lines
365 B
Go
package main
|
|
|
|
import (
|
|
"embed"
|
|
|
|
p "git.teletypegames.org/engines/inkwell"
|
|
"git.teletypegames.org/demos/inkwell-demo/lib"
|
|
)
|
|
|
|
// The asset tree is compiled into the binary so the js/wasm build can
|
|
// load it too — in the browser there is no OS filesystem to read from.
|
|
//
|
|
//go:embed assets
|
|
var assetsFS embed.FS
|
|
|
|
func main() {
|
|
p.AssetFS = assetsFS
|
|
lib.Run()
|
|
}
|