build: run builds panel modules through a pixi task
CI / test (push) Failing after 15s

Add a pixi `modules` task that runs scripts/build-modules.sh. The justfile
`modules` recipe calls it, and `run` now depends on `modules` so the panel
has its wasm modules when the compositor starts.

Drop pulse, clock-digital12, moon-disc and moon-text from components.txt.
They had no source in any branch, so the build skipped them every time.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Haiku 5.5 committed 2026-11-25 10:22:11 -08:00
1 parent ab01688778
commit f7f90e1c41
3 files changed
+5 -6

No files matched your search

+2 -2
View File
@@ -28,7 +28,7 @@ tcc-build:
# Build the panel's wasm modules (application menu, task list, clock, ...) into build/components.
modules:
scripts/build-modules.sh
pixi run modules
# Debug build of the native compositor, compiled and linked with tcc ($TCC, the vendored build if present, or tcc on PATH). Never builds tcc itself.
build:
@@ -40,7 +40,7 @@ build-release:
moon build --target native --release --warn-list -a compositor/bin
# Run the compositor, built as a wasm component, in a window on your current Wayland session (close the window or Ctrl-C to stop). Connect clients via `just client`. The panel is empty until panel modules run in the component; `just run-native` has them.
run: compositor-wasm host-wasm
run: compositor-wasm host-wasm modules
rm -f {{socket}}
host-wasm/target/release/chandra-host build/compositor.wasm --socket {{socket}} --theme {{theme}} --window