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:
1 parent
ab01688778
commit
f7f90e1c41
3 files changed
+5
-6
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user