Skip to content

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.

3 participants