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

How to obtain swiftc log for use in swiftlint #2470

Open
ed-irl opened this issue Jun 18, 2024 · 0 comments
Open

How to obtain swiftc log for use in swiftlint #2470

ed-irl opened this issue Jun 18, 2024 · 0 comments
Labels
type: feature request New feature or request

Comments

@ed-irl
Copy link

ed-irl commented Jun 18, 2024

Hello,
SwiftLint is an application that can do static analysis of Swift files in order to improve code quality.

The analyze command (which offers some additional capabilities compared to the lint command) requires access to the swiftc log. Currently, I do not think this is exposed except to display error messages when compilation fails.

I was wondering if anyone has integrated this utility into their build, or if there would be interest in accepting a patch to produce the log file as an artifact from the swift_library build rule?

Thank you!

@luispadron luispadron added the type: feature request New feature or request label Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants