Open JimRoepcke opened 1 week ago
Hey @JimRoepcke, that's actually what I initially wanted to do. However, as far as I know, plugins can't directly depend on libraries or reuse an executableTarget defined in Sitrep's Package.swift.
When I have some time, I plan to completely remove the Sitrep dependency and reimplement it using SwiftSyntax, as our only need from Sitrep is to extract all the import statements in the code.
Could I ask what prompted your question? Just to clarify, if you're concerned about using it, as far as I know, there's no need to worry as Xcode runs plugins in a sandbox, so the executable can't do anything harmful.
Can this tool depend on the sitrep library source instead of depending on a sitrep binary?