WEFT_OS/infra/scripts/check.sh
Marco Allegretti feb69be199 feat(compositor): add weft-compositor crate
- Implement WeftCompositorState with all Wayland protocol globals:
 compositor, xdg-shell, layer-shell, shm, dmabuf, output, presentation,
 text-input, input-method, pointer-constraints, cursor-shape, seat.
- Implement process_input_event covering keyboard, pointer (relative +
 absolute), axis, touch, and all gesture types (swipe, pinch, hold).
- Implement Winit backend with damage-tracked rendering loop and frame
 callbacks.
- Add DRM/KMS backend skeleton: libseat session, udev device discovery,
 calloop integration (rendering path deferred).
- Add infra/systemd/weft-compositor.service (Type=notify).
- Split CI into cross-platform and linux-only jobs.
- Exclude weft-compositor from Windows check scripts.
2026-03-10 20:56:35 +01:00

12 lines
323 B
Bash

#!/usr/bin/env bash
set -euo pipefail
cargo fmt --all --check
if [ "$(uname -s)" = "Linux" ]; then
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace
else
cargo clippy --workspace --exclude weft-compositor --all-targets -- -D warnings
cargo test --workspace --exclude weft-compositor
fi