Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(build): ignore changes on autogenerated files #8736

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

lucasfernog
Copy link
Member

  • Writing to core/tauri/permissions is not a good idea, always triggers the build script to rerun
  • rerun-if-changed should not be used for autogenerated permissions otherwise plugin build script always reruns

@lucasfernog lucasfernog requested a review from a team as a code owner February 2, 2024 17:42
@lucasfernog lucasfernog changed the title fix(cli): prevent creating interface twice fix(build): ignore changes on autogenerated files Feb 2, 2024
@lucasfernog lucasfernog merged commit 791e291 into dev Feb 2, 2024
23 checks passed
@lucasfernog lucasfernog deleted the fix/ignore-autogenerated-permissions branch February 2, 2024 23:55
@lucasfernog
Copy link
Member Author

This is actually fine as long as we be careful not to always write the file (check if the contents changed first) and not rerun-if-changed it. That's why i'm keeping the autogenerated commands at the plugin crate itself and adding the reference markdown for each core plugin at #8737

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants