Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ jobs:
# The REAL consumer chain, nothing mocked:
#
# project.labelle `.params.language = "lua"` on the labelle-scripting
# plugin (fetched from GitHub at v0.2.0) → splice embeds
# plugin (fetched from GitHub at v0.2.1) → splice embeds
# scripts/behavior.lua (the scripts/ convention — labelle-engine#237)
# + registers it pre-VM-boot → labelle-null's
# headless template binds `engine.script_contract` → per-frame
Expand All @@ -378,7 +378,7 @@ jobs:
# Position, emits a custom `lua_ping` event AND receives it back,
# plus the engine's own `engine__tick`.
#
# v0.2.0 also ships the declare tool, so this run exercises DECLARE
# v0.2.1 also ships the declare tool, so this run exercises DECLARE
# MODE (#585/#598) end-to-end against the real thing: generate builds
# `labelle-declare` from the resolved dep (`zig build labelle-declare`),
# runs it over the collected scripts/ sources, and codegens the behavior's chunk-scope
Expand All @@ -395,11 +395,11 @@ jobs:
cd labelle-assembler/examples/scripting-smoke
ASM=$GITHUB_WORKSPACE/labelle-assembler/zig-out/bin/labelle-assembler

# Fetch the scripting plugin (GitHub, v0.2.0) into the package
# Fetch the scripting plugin (GitHub, v0.2.1) into the package
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
# cache. The backend needs no fetch — `backend_package` pins the
# sibling labelle-null checkout (see the clone step above).
# generate then ALSO builds + runs the dep's real declare tool
# (fetching its lua.org dep on first build) — see the step
# (fetching its Lua dep -- the GitHub-hosted mirror since v0.2.1 -- on first build) — see the step
# comment above.
$ASM install --project-root .
$ASM generate --project-root .
Expand All @@ -421,7 +421,7 @@ jobs:
# Build wiring: the plugin's -Dlanguage option.
grep -qF '.language = .lua' .labelle/null_desktop/build.zig
# Declare mode (#585/#598): the REAL labelle-declare tool ran from
# the resolved v0.2.0 dep and codegened the script-declared
# the resolved v0.2.1 dep and codegened the script-declared
# component into the target...
C=.labelle/null_desktop/scripting_components.zig
grep -qF 'pub const Hunger = struct' $C
Expand Down
4 changes: 2 additions & 2 deletions examples/scripting-smoke/project.labelle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
// THE consumer path under test: the scripting plugin fetched from its
// real repo at a real tag, with the one-language-per-project param
// (#584/#589) that arms the assembler's scripting splice (#593).
// v0.2.0 ships the declare tool (`tools/declare`), so the capability
// v0.2.1 ships the declare tool (`tools/declare`), so the capability
// probe (#598) passes and generate ALSO runs declare mode (#585) for
// real: the chunk-scope `labelle.component("Hunger", ...)` in
// scripts/behavior.lua becomes a codegen'd `scripting_components.zig`
Expand All @@ -41,7 +41,7 @@
.{
.name = "scripting",
.repo = "github.com/labelle-toolkit/labelle-scripting",
.version = "0.2.0",
.version = "0.2.1",
.params = .{ .language = "lua" },
},
},
Expand Down
Loading