wanna automate builds

This commit is contained in:
Wyatt J. Miller 2021-06-27 16:42:21 -04:00
parent a1e42148a7
commit 97737dde56

13
build.rs Normal file
View File

@ -0,0 +1,13 @@
use std::process::Command;
fn main() {
// let _ = Command::new("sh")
// .args(&["-c", "cd resources && gtk4-builder-tool simplify --3to4 snespatcher.ui --replace"])
// .output()
// .expect("failed to execute process");
let _ = Command::new("sh")
.args(&["-c", "cd resources && glib-compile-resources resources.xml"])
.output()
.expect("failed to execute process");
}