Files
snespatcher/build.rs
T
2026-08-26 21:33:44 -04:00

16 lines
499 B
Rust

use std::process::Command;
fn main() {
println!("cargo:rerun-if-changed=resources/resources.xml");
println!("cargo:rerun-if-changed=resources/style.css");
println!("cargo:rerun-if-changed=resources/appmenu.xml");
let status = Command::new("glib-compile-resources")
.arg("resources.xml")
.current_dir("resources")
.status()
.expect("failed to run glib-compile-resources");
assert!(status.success(), "failed to compile application resources");
}