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

Swift Package Manager Plugin #188

Open
briancordanyoung opened this issue Dec 7, 2022 · 2 comments
Open

Swift Package Manager Plugin #188

briancordanyoung opened this issue Dec 7, 2022 · 2 comments

Comments

@briancordanyoung
Copy link

I don't see a Swift Package Manager Plugin to run IBLinter like there is now for SwiftLint and SwiftGen. I'd like to get this working for my project. Before I start on this in a couple days, has anyone already attempted it or in progress?

I would implement is as a PR to IBLinter adding directly to the existing Package.swift as done in the SwiftLint project. If you would prefer a separate project as done for SwiftGen I'd be happy to discuss the goals.

@kateinoigakukun
Copy link
Collaborator

I don't mind either way for just having a plugin. However, considering the use of .binaryTarget for the plugin to save build-time, I prefer a separate repo under IBDecodable org because binaryTarget declaration in IBLinter's Package.swift would complicate the release process as discussed in the SwiftLint PR.

If you made a repo and we confirmed the plugin works, you can transfer it to IBDecodable org (of course if you'd like)

@briancordanyoung
Copy link
Author

OK. great. I'm glad I asked.

After reviewing that thread and the SwiftGen project, it does look like building this in a separate repo is the way to go for now, giving flexibility for either way to distribute it. I'd be happy for the project to transfer later.

I may not get to it as quickly as I expected, but hope to in the coming week.

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