Skip to content

Add .index-build to .gitignore #768

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

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Add .index-build to .gitignore #768

merged 1 commit into from
Oct 17, 2024

Conversation

MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Oct 17, 2024

Motivation:

The .index-build directory is created by SourceKit-LSP when background indexing is enabled, contains auto-generated transient files similar in purpose to .build, and it should be ignored.

Modifications:

Updated .gitignore file accordingly.

Result:

Developers no longer need to exclude .index-build manually from their commits when editing the package with SourceKit-LSP.

Checklist:

- [ ] Code and documentation should follow the style of the Style Guide.
- [ ] If public symbols are renamed or modified, DocC references should be updated.

This subdirectory is created by SourceKit-LSP when background indexing is enabled, it should be ignored.
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@grynspan grynspan added enhancement New feature or request build 🧱 Affects the project's build configuration or process labels Oct 17, 2024
@MaxDesiatov MaxDesiatov merged commit d50f654 into main Oct 17, 2024
3 checks passed
@MaxDesiatov MaxDesiatov deleted the maxd/ignore-index-build branch October 17, 2024 11:19
@grynspan grynspan added this to the Swift 6.1 milestone Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build 🧱 Affects the project's build configuration or process enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants