// Build script: compile all `ui/*.slint` files into Rust source via // `slint-build`. The generated file path is exposed via the // `SLINT_INCLUDE_GENERATED` env var and pulled into `lib.rs` through // `slint::include_modules!()`. // // Per AGENTS.md ยง4 the UI lives under `ui/`. `ui/app.slint` is the entry // point that recursively imports the other files (theme.slint, // components.slint, ...), so compiling only the entry is sufficient. fn main() { slint_build::compile("ui/app.slint").expect("slint compilation failed"); }