tauri/.changes/avoid-rebuilds.md
Sebastian Neubauer 5c335ae9ad
fix(android): avoid rebuilds if nothing changed (#10648)
* fix(android): avoid rebuilds if nothing changed

Unconditionally overwriting files where the build reruns if they changed
leads to rebuilds every time.
Only overwrite a file if its content is different to not rebuild in such
a case.

* use write_if_changed utils

* use existing function

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-19 13:33:39 -03:00

176 B

tauri tauri-build tauri-utils
patch:bug patch:bug patch:bug

Prevent build script from rerunning unnecessarily by only writing files when the content changes.