Skip to content

Add .index-build to .gitignore in generated swift packages #7772

Closed
@dschaefer2

Description

@dschaefer2

Description

@ahoppen is adding background indexing to sourcekit-lsp which stores it's artifacts in a .index-build directory. This causes git to show these as untracked.

We should add this directory to the generated .gitignore file in swift package init.

Expected behavior

No response

Actual behavior

No response

Steps to reproduce

No response

Swift Package Manager version/commit hash

No response

Swift & OS version (output of swift --version && uname -a)

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions