9d713ac701
Remove a bunch of stuff from build.rs and cleanup the globals.rs module.
11 lines
291 B
Rust
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());
|
|
}
|