-
Notifications
You must be signed in to change notification settings - Fork 406
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
Release and Bitrise builds fail on any Swiftlint violation #577
Conversation
@tomasstrba good job 👍 One optional idea: could we check type of lint failure (maybe looking at return codes) and then echo out some more verbose error e.g. |
@bwaresiak thanks for approval. When I look at return codes of swiftlint, there are just three:
Do you think it will tell us more information? Output already contains |
@tomasstrba when I look at output of a (failed) Archive operation I see: and in the console:
I think we could make it more clear, for instance by adding:
we get following errors in Xcode:
What do you think? |
@bwaresiak thank you, it's more clear now. You are right, adding specific error message helps when working in Xcode. 👍 I only added error message, no need to test again. |
Description: If there is any Swiftlint warning present, release and Bitrise build will fail.
Steps to test this PR:
Internal references:
Software Engineering Expectations
Technical Design Template