fractal/fractal-gtk/build.rs
Jordan Petridis 9d713ac701
Globals: Avoid duplication
Remove a bunch of stuff from build.rs and cleanup
the globals.rs module.
2018-09-22 17:25:58 +03:00

11 lines
291 B
Rust

use std::process::Command;
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());
}