swiftlang / swift-foundation

The Foundation project
Apache License 2.0
2.4k stars 159 forks source link

Add `.index-build` to `.gitignore` #986

Closed MaxDesiatov closed 3 weeks ago

MaxDesiatov commented 3 weeks ago

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.

MaxDesiatov commented 3 weeks ago

@swift-ci test