-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add diags for non-existing binary used by prebuild plugin #5834
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
Conversation
Resolves rdar://90442392
@swift-ci smoke test |
@swift-ci smoke test |
@swift-ci smoke test |
@swift-ci smoke test |
var outputData = Data() | ||
var diagnostics = [Basics.Diagnostic]() | ||
var buildCommands = [BuildToolPluginInvocationResult.BuildCommand]() | ||
var prebuildCommands = [BuildToolPluginInvocationResult.PrebuildCommand]() | ||
|
||
init(delegateQueue: DispatchQueue, toolPaths: [AbsolutePath]) { | ||
init(delegateQueue: DispatchQueue, toolPaths: [AbsolutePath], fileSystem: FileSystem) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: make fileSystem
the first argument (we usually so). otherwise looks great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason why it's made to be the first argument in general?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one small nit, otherwise looks great!
@swift-ci smoke test |
Add diags for non-existing binary used by prebuild plugin.
Add a test to verify a package with a plugin target no longer requires a non-plugin target.
Resolves rdar://90442392, rdar://86787091