just run now runs the wasm compositor; the native one is just run-native
CI / test (push) Failing after 18s
CI / test (push) Failing after 18s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6aba9b6a4f
commit
4ff933ce54
1 file changed
+7
-7
@@ -39,8 +39,13 @@ build:
|
|||||||
build-release:
|
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 in a window on your current Wayland session (close the window or Ctrl-C to stop). Connect clients via `just client`.
|
# 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: build modules
|
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}}
|
rm -f {{socket}}
|
||||||
{{exe}} --window --socket {{socket}} --theme {{theme}}
|
{{exe}} --window --socket {{socket}} --theme {{theme}}
|
||||||
|
|
||||||
@@ -125,8 +130,3 @@ compositor-wasm:
|
|||||||
host-wasm:
|
host-wasm:
|
||||||
cd host-wasm && cargo build --release
|
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
|
|
||||||
|
|
||||||
Reference in new issue
Block a user