feat: don't run cache busting routines during debug build

This commit is contained in:
realaravinth
2022-05-08 20:00:05 +05:30
parent 100fb4d5ab
commit 6550266aef

View File

@@ -31,6 +31,7 @@ fn main() {
let now = OffsetDateTime::now_utc().format("%y-%m-%d");
println!("cargo:rustc-env=COMPILED_DATE={}", &now);
#[cfg(not(debug_assertions))]
cache_bust();
}