monorepo/kifu/gtk/build.rs

15 lines
391 B
Rust
Raw Normal View History

2023-03-31 02:25:11 +00:00
fn main() {
glib_build_tools::compile_resources(
&["resources"],
2024-02-27 00:06:41 +00:00
"gresources.xml",
2023-03-31 02:25:11 +00:00
"com.luminescent-dreams.kifu-gtk.gresource",
);
let messages = std::process::Command::new("codegen-rust")
.arg("messages/en.yaml")
.output()
.expect("Failed to execute command");
println!("{}", String::from_utf8(messages.stdout).unwrap());
2023-03-31 02:25:11 +00:00
}