build.rs 223 Bytes
Newer Older
1
use std::process::Command;
2 3

fn main() {
4 5 6 7 8 9
    // Compile Gresource
    Command::new("glib-compile-resources")
        .args(&["--generate", "resources.xml"])
        .current_dir("res")
        .status()
        .unwrap();
10
}