mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-01 03:02:28 +03:00
remove non-existent cargo rerun check (#3412)
This commit is contained in:
parent
8f5dba04e2
commit
65287cd614
5
.changes/always-rebuilding.md
Normal file
5
.changes/always-rebuilding.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"tauri-build": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Remove `cargo:rerun-if-changed` check for non-existent file that caused projects to _always_ rebuild.
|
@ -152,7 +152,6 @@ pub fn try_build(attributes: Attributes) -> Result<()> {
|
|||||||
use cargo_toml::{Dependency, Manifest};
|
use cargo_toml::{Dependency, Manifest};
|
||||||
use tauri_utils::config::{Config, TauriConfig};
|
use tauri_utils::config::{Config, TauriConfig};
|
||||||
|
|
||||||
println!("cargo:rerun-if-changed=src/Cargo.toml");
|
|
||||||
println!("cargo:rerun-if-changed=tauri.conf.json");
|
println!("cargo:rerun-if-changed=tauri.conf.json");
|
||||||
#[cfg(feature = "config-json5")]
|
#[cfg(feature = "config-json5")]
|
||||||
println!("cargo:rerun-if-changed=tauri.conf.json5");
|
println!("cargo:rerun-if-changed=tauri.conf.json5");
|
||||||
|
Loading…
Reference in New Issue
Block a user