Skip to content

Add Tauri to community gitignore templates#4817

Open
mvanhorn wants to merge 1 commit intogithub:mainfrom
mvanhorn:osc/tauri-gitignore
Open

Add Tauri to community gitignore templates#4817
mvanhorn wants to merge 1 commit intogithub:mainfrom
mvanhorn:osc/tauri-gitignore

Conversation

@mvanhorn
Copy link

Reasons for making this change

Tauri is a cross-platform desktop application framework (90k+ GitHub stars) that combines a web frontend with a Rust backend. Tauri projects produce platform-specific build artifacts - MSI installers, DMGs, AppImages, deb packages - that should not be committed.

The template covers two Tauri-specific patterns not in the existing Rust.gitignore:

  • target/ - Rust Cargo build cache, present in all Tauri projects
  • WixTools/ - WiX Toolset cache directory created during Windows MSI installer builds

The header recommends combining with Rust.gitignore for generic Rust patterns.

Intentionally NOT ignored:

  • src-tauri/gen/ - Contains generated Android Studio and Xcode project files. Tauri's own community discussion confirms these should be committed since they may need customization.

Placement: community/ per the repo's README guidelines for specialized framework templates.

Links to documentation supporting these rule changes

If this is a new template

Link to application or project's homepage: https://tauri.app/

Merge and Approval Steps

  • Confirm that you've read the contribution guidelines and ensured your PR aligns
  • Ensure CI is passing
  • Get a review and Approval from one of the maintainers

This contribution was developed with AI assistance (Claude Code).

@mvanhorn mvanhorn requested a review from a team as a code owner March 17, 2026 22:36
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.

1 participant