Skip to content

Conversation

@hamishknight
Copy link
Contributor

By default Xcode saves an xctestplan directly in the .swiftpm directory if you change any of its default values (e.g when enabling code coverage). As such, ignore the entire .swiftpm directly, not just .swiftpm/xcode. Also ignore it for any child directories, avoiding the need to have separate .gitignores for child SwiftPM projects.

By default Xcode saves an xctestplan directly in
the `.swiftpm` directory if you change any of its
default values (e.g when enabling code coverage).
As such, ignore the entire `.swiftpm` directly, not
just `.swiftpm/xcode`. Also ignore it for any
child directories, avoiding the need to have separate
`.gitignore`s for child SwiftPM projects.
@hamishknight hamishknight requested a review from ahoppen as a code owner March 23, 2023 12:20
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight hamishknight merged commit f340316 into swiftlang:main Mar 23, 2023
@hamishknight hamishknight deleted the gitignore branch March 23, 2023 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants