Simon Gardling 2cf33f9d6b fix assets
2022-04-22 12:21:42 -04:00

12 lines
337 B
Rust

fn main() {
// rebuild if new commit or contents of `assets` folder changed
println!("cargo:rerun-if-changed=.git/logs/HEAD");
println!("cargo:rerun-if-changed=assets/*");
let _ = command_run::Command::with_args("./pack_assets.sh", &[""])
.enable_capture()
.run();
shadow_rs::new().expect("Could not initialize shadow_rs");
}