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

run-sonar.sh 脚本支持 infer #2

Open
sydowma opened this issue Nov 28, 2020 · 0 comments
Open

run-sonar.sh 脚本支持 infer #2

sydowma opened this issue Nov 28, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@sydowma
Copy link
Collaborator

sydowma commented Nov 28, 2020

Feature Request

run-sonar.sh 脚本增加对 infer 工具的支持,现在支持 OCLint/Lizard/Swiftlint,缺少 Infer

Motivation Behind Feature

Feature Description

执行Infer的命令为

infer -- run [--skip-analysis-in-path path] --compilation-database compile_commands.json

compile_commands.json 是 xcpretty 对 xcodebuild 的 log 转化为的 json 文件内容。
--skip-analysis-in-path path 是需要过滤的目录,相对路径

Alternatives or Workarounds

@sydowma sydowma added the enhancement New feature or request label Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant