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

Opt in to explicit target dependencies #6810

Merged
merged 1 commit into from Aug 15, 2023

Conversation

neonichu
Copy link
Member

We may want to make --explicit-target-dependency-import-check the default at some point, so it would be good to get some more testing in practice. We can opt in SwiftPM's CI itself as a starting point.

We may want to make `--explicit-target-dependency-import-check` the default at some point, so it would be good to get some more testing in practice. We can opt in SwiftPM's CI itself as a starting point.
@neonichu
Copy link
Member Author

@swift-ci please smoke test


enum TargetDependencyImportCheckingMode: String, Codable, ExpressibleByArgument {
case none
case error
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I explicitly left out warn here in the spirit of keeping swift-bootstrap minimal.

@tomerd
Copy link
Member

tomerd commented Aug 15, 2023

this is for SwiftPM own bootstrap only?

@neonichu
Copy link
Member Author

this is for SwiftPM own bootstrap only?

That's right

@neonichu neonichu merged commit 19ca556 into main Aug 15, 2023
5 checks passed
@neonichu neonichu deleted the opt-in-to-explicit-target-dependency-import-check branch August 15, 2023 15:43
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.

None yet

3 participants