Skip to content
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

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

Closed
dschaefer2 opened this issue Jul 13, 2024 · 0 comments · Fixed by #7843
Closed

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

dschaefer2 opened this issue Jul 13, 2024 · 0 comments · Fixed by #7843
Assignees
Labels
enhancement swift package init Package templates command changes

Comments

@dschaefer2
Copy link
Member

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

@dschaefer2 dschaefer2 added enhancement swift package init Package templates command changes labels Jul 13, 2024
@MaxDesiatov MaxDesiatov changed the title Add .index-build to .gitignore in generates swift packages Add .index-build to .gitignore in generated swift packages Jul 31, 2024
@MaxDesiatov MaxDesiatov self-assigned this Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement swift package init Package templates command changes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants