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.
|
# Build the panel's wasm modules (application menu, task list, clock, ...) into build/components.
|
||||||
modules:
|
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.
|
# 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:
|
build:
|
||||||
@@ -40,7 +40,7 @@ build-release:
|
|||||||
moon build --target native --release --warn-list -a compositor/bin
|
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 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}}
|
rm -f {{socket}}
|
||||||
host-wasm/target/release/chandra-host build/compositor.wasm --socket {{socket}} --theme {{theme}} --window
|
host-wasm/target/release/chandra-host build/compositor.wasm --socket {{socket}} --theme {{theme}} --window
|
||||||
|
|
||||||
|
|||||||
@@ -13,3 +13,6 @@ seatd = ">=0.9.3,<0.10"
|
|||||||
CPATH = "$CONDA_PREFIX/include"
|
CPATH = "$CONDA_PREFIX/include"
|
||||||
LIBRARY_PATH = "$CONDA_PREFIX/lib"
|
LIBRARY_PATH = "$CONDA_PREFIX/lib"
|
||||||
LD_LIBRARY_PATH = "$CONDA_PREFIX/lib"
|
LD_LIBRARY_PATH = "$CONDA_PREFIX/lib"
|
||||||
|
|
||||||
|
[tasks]
|
||||||
|
modules = "scripts/build-modules.sh"
|
||||||
@@ -4,10 +4,6 @@ clock-binary clock-widget
|
|||||||
launcher launcher-widget
|
launcher launcher-widget
|
||||||
dock launcher-widget
|
dock launcher-widget
|
||||||
shell shell
|
shell shell
|
||||||
pulse pulse-widget
|
|
||||||
clock-digital12 clock-widget
|
|
||||||
moon-disc clock-widget
|
|
||||||
moon-text clock-widget
|
|
||||||
tasks taskbar-widget
|
tasks taskbar-widget
|
||||||
layout layout-widget
|
layout layout-widget
|
||||||
inspector inspector-widget
|
inspector inspector-widget
|
||||||
|
|||||||
Reference in new issue
Block a user