Two crates: a UI-free core tested natively in WSL, and a thin GPUI app that opens the "Arena Tracker" window showing a text supplied by the core. scripts/win builds and runs the app with the Windows toolchain from WSL (ADR-0003), with the build directory on the Windows drive. Closes #3 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
15 lines
357 B
Rust
15 lines
357 B
Rust
/// Text shown at startup while no Match has been imported yet.
|
|
pub fn startup_message() -> &'static str {
|
|
"Aucune Partie importée pour l'instant."
|
|
}
|
|
|
|
#[cfg(test)]
|
|
mod tests {
|
|
use super::*;
|
|
|
|
#[test]
|
|
fn startup_message_announces_no_imported_match() {
|
|
assert_eq!(startup_message(), "Aucune Partie importée pour l'instant.");
|
|
}
|
|
}
|