mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-11 10:43:31 +02:00
only rebuild on plist change if there is a plist
This commit is contained in:
@@ -128,10 +128,12 @@ impl CodegenContext {
|
||||
}
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
println!(
|
||||
"cargo:rerun-if-changed={}",
|
||||
config_parent.join("Info.plist").display()
|
||||
);
|
||||
{
|
||||
let plist = config_parent.join("Info.plist");
|
||||
if plist.exists() {
|
||||
println!("cargo:rerun-if-changed={}", plist.display());
|
||||
}
|
||||
}
|
||||
|
||||
let code = context_codegen(ContextData {
|
||||
dev: self.dev,
|
||||
|
||||
Reference in New Issue
Block a user