fractal/fractal-gtk/build.rs

12 lines
291 B
Rust
Raw Normal View History

use std::process::Command;
2017-11-08 11:44:55 +00:00
fn main() {
// Compile Gresource
let out = Command::new("glib-compile-resources")
.args(&["--generate", "resources.xml"])
.current_dir("res")
.status()
.expect("failed to generate resources");
assert!(out.success());
2017-11-08 11:44:55 +00:00
}