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

fix: skip oclint analysis on source directories without objc #236

Merged

Conversation

davidy4ng
Copy link
Contributor

On projects with multiple source directories in the sonar-project.properties, launching OCLint analysis on each of them may interrupt the script with an error if one of those directories contains no objective-c files.

oclint Not enough positional command line arguments specified!

This fix check if there are Objective-C files (*.m) before performing the analysis on that folder.

@davidy4ng davidy4ng force-pushed the fix/oclint-skip-non-objc-source-dirs branch from 14216e8 to 6881889 Compare July 16, 2019 14:33
bcolvin added a commit to bcolvin/sonar-swift that referenced this pull request Aug 22, 2019
@gaelfoppolo gaelfoppolo self-requested a review August 22, 2019 21:09
@davidy4ng davidy4ng merged commit 348d3c7 into Idean:develop Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants