Consume the published inkwell module instead of a sibling checkout
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>
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
package lib
|
||||
|
||||
import p "git.teletypegames.org/games/inkwell"
|
||||
import p "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
// Assets lists every asset the game references. Files don't need to
|
||||
// exist on disk — the library substitutes deterministic colored
|
||||
|
||||
@@ -3,7 +3,7 @@ package lib
|
||||
import (
|
||||
"image/color"
|
||||
|
||||
p "git.teletypegames.org/games/inkwell"
|
||||
p "git.teletypegames.org/engines/inkwell"
|
||||
)
|
||||
|
||||
var Cat = p.Character{
|
||||
|
||||
@@ -3,7 +3,7 @@ package lib
|
||||
import (
|
||||
"image/color"
|
||||
|
||||
p "git.teletypegames.org/games/inkwell"
|
||||
p "git.teletypegames.org/engines/inkwell"
|
||||
)
|
||||
|
||||
var Player = p.Character{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package lib
|
||||
|
||||
import p "git.teletypegames.org/games/inkwell"
|
||||
import p "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
var CatMorning = p.Dialogue{
|
||||
Name: "cat_morning",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package lib
|
||||
|
||||
import p "git.teletypegames.org/games/inkwell"
|
||||
import p "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
var Beans = p.Item{
|
||||
Name: "beans",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package lib
|
||||
|
||||
import p "git.teletypegames.org/games/inkwell"
|
||||
import p "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
var Key = p.Item{
|
||||
Name: "key",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package lib
|
||||
|
||||
import p "git.teletypegames.org/games/inkwell"
|
||||
import p "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
var Mug = p.Item{
|
||||
Name: "mug",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package lib
|
||||
|
||||
import p "git.teletypegames.org/games/inkwell"
|
||||
import p "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
var Bedroom = p.Scene{
|
||||
Name: "bedroom",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package lib
|
||||
|
||||
import p "git.teletypegames.org/games/inkwell"
|
||||
import p "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
var Kitchen = p.Scene{
|
||||
Name: "kitchen",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package lib
|
||||
|
||||
import p "git.teletypegames.org/games/inkwell"
|
||||
import p "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
var IntroScript = p.Script{
|
||||
Name: "intro",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package lib
|
||||
|
||||
import p "git.teletypegames.org/games/inkwell"
|
||||
import p "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
var VictoryScript = p.Script{
|
||||
Name: "victory",
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package lib
|
||||
import (
|
||||
"log"
|
||||
|
||||
p "git.teletypegames.org/games/inkwell"
|
||||
p "git.teletypegames.org/engines/inkwell"
|
||||
)
|
||||
|
||||
// Run builds the game and hands it to the inkwell engine. It is the
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package lib
|
||||
import (
|
||||
"image/color"
|
||||
|
||||
p "git.teletypegames.org/games/inkwell"
|
||||
p "git.teletypegames.org/engines/inkwell"
|
||||
)
|
||||
|
||||
// MorningCoffeeTheme is the game-specific palette: warm coffee browns
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/hajimehoshi/ebiten/v2/inpututil"
|
||||
"github.com/hajimehoshi/ebiten/v2/vector"
|
||||
|
||||
p "git.teletypegames.org/games/inkwell"
|
||||
p "git.teletypegames.org/engines/inkwell"
|
||||
)
|
||||
|
||||
// GameChat is a stand-alone chat panel: click to focus, type a message,
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
"github.com/hajimehoshi/ebiten/v2/inpututil"
|
||||
|
||||
p "git.teletypegames.org/games/inkwell"
|
||||
p "git.teletypegames.org/engines/inkwell"
|
||||
)
|
||||
|
||||
// SaveKeys is a no-draw widget that binds F5 → Save(slot 0) and
|
||||
|
||||
Reference in New Issue
Block a user