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

Build Sitrep from source #7

Open
JimRoepcke opened this issue Nov 18, 2024 · 1 comment
Open

Build Sitrep from source #7

JimRoepcke opened this issue Nov 18, 2024 · 1 comment

Comments

@JimRoepcke
Copy link

Can this tool depend on the sitrep library source instead of depending on a sitrep binary?

@Nikoloutsos
Copy link
Owner

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.

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

No branches or pull requests

2 participants