update build.rs

This commit is contained in:
Simon Gardling 2022-03-30 14:34:49 -04:00
parent a49b99e274
commit dd2b6ce00e

View File

@ -7,7 +7,7 @@ use std::path::Path;
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");
println!("cargo:rerun-if-changed=assets/*");
let _ = command_run::Command::with_args("./pack_assets.sh", &[""])
.enable_capture()