Teach the Ebitengine build about our own module namespace
inkwell is now a published module (engines/inkwell v0.1.0) rather than a sibling checkout, so a project that depends on it needs GOPRIVATE — our forge is not proxy.golang.org and not in the public checksum database. Set in both the builder image and the Makefile template, so it holds whether or not the image has been rebuilt. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -24,6 +24,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
libasound2-dev \
|
libasound2-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# Our own Go modules (engines/inkwell, engines/gorpg) are served by the forge,
|
||||||
|
# not by proxy.golang.org, and are absent from the public checksum database.
|
||||||
|
ENV GOPRIVATE=git.teletypegames.org
|
||||||
|
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
CMD ["/bin/bash"]
|
||||||
|
|||||||
@@ -4,6 +4,10 @@
|
|||||||
|
|
||||||
PROJECT = ebitenginedemo
|
PROJECT = ebitenginedemo
|
||||||
|
|
||||||
|
# Our own modules live on the forge, not on proxy.golang.org: fetch them
|
||||||
|
# directly and skip the public checksum database.
|
||||||
|
export GOPRIVATE = git.teletypegames.org
|
||||||
|
|
||||||
BIN_DIR = bin
|
BIN_DIR = bin
|
||||||
DIST_DIR = dist
|
DIST_DIR = dist
|
||||||
WASM_NAME = game.wasm
|
WASM_NAME = game.wasm
|
||||||
|
|||||||
Reference in New Issue
Block a user