From 4ff933ce5426257059b490668135e25fb4fd3f60 Mon Sep 17 00:00:00 2001 From: nandithebull Date: Wed, 25 Nov 2026 01:43:55 -0800 Subject: [PATCH] just run now runs the wasm compositor; the native one is just run-native Co-Authored-By: Claude Sonnet 5.5 --- justfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/justfile b/justfile index bf32e0f..23e30d5 100644 --- a/justfile +++ b/justfile @@ -39,8 +39,13 @@ build: build-release: moon build --target native --release --warn-list -a compositor/bin -# Run the compositor in a window on your current Wayland session (close the window or Ctrl-C to stop). Connect clients via `just client`. -run: build modules +# 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 + rm -f {{socket}} + host-wasm/target/release/moon-plasma-host build/components/compositor.wasm --socket {{socket}} --theme {{theme}} --window + +# Run the native compositor (tcc debug build, with the wasm panel modules) in a window on your current Wayland session. +run-native: build modules rm -f {{socket}} {{exe}} --window --socket {{socket}} --theme {{theme}} @@ -125,8 +130,3 @@ compositor-wasm: host-wasm: cd host-wasm && cargo build --release -# Run the wasm compositor in a window on your current Wayland session. Connect clients via `just client`. -run-wasm: compositor-wasm host-wasm - rm -f {{socket}} - host-wasm/target/release/moon-plasma-host build/components/compositor.wasm --socket {{socket}} --theme {{theme}} --window -