A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
fix(gates): the twin-freshness check runs where the engine it needs is
esenginebf6e431196f2
diff --git a/tools/gates.mjs b/tools/gates.mjsindex 9f7e3c594..422b7a23e 100644--- a/tools/gates.mjs+++ b/tools/gates.mjs@@ -104,10 +104,16 @@ export const GATES = [{ id: 'mesh-vocabulary', run: 'node tools/check-mesh-vocabulary.mjs' },{ id: 'shader-blocks', run: 'node tools/check-shader-blocks.mjs' },{ id: 'wgsl-twin', run: 'node tools/check-wgsl-twin.mjs' },- // The twin's FRESHNESS, which only CI asked — so fifteen shaders reached master- // with a stamp older than their GLSL. It needs no converter and no engine.- { id: 'wgsl-twin-fresh',- run: "node tools/gen-shader-twins.mjs --check $(find fixtures/scenes examples -name '*.esshader')" },+ {+ // The twin's FRESHNESS, as opposed to its shape above: fifteen shaders reached+ // master carrying a stamp older than their own GLSL.+ id: 'wgsl-twin-fresh',+ run: "if [ -f build/wasm/web/esengine.js ]; then "+ + "node tools/gen-shader-twins.mjs --check $(find fixtures/scenes examples -name '*.esshader'); "+ + "else echo 'wgsl-twin-fresh: skipped — no built engine in build/wasm/web'; fi",+ where: 'local',+ why: 'the check cooks each shader to hash the ASSEMBLED GLSL, so it needs the built engine and skips a machine without one; the render CI job runs it where the binary is',+ },{ id: 'shader-literals', run: 'node tools/check-shader-literals.mjs' },{ id: 'import-settings', run: 'node tools/check-import-settings.mjs' },{ id: 'gizmo-coverage', run: 'node tools/check-gizmo-coverage.mjs', needs: 'editor' },