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