Skip to content

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

@sydowma

Description

@sydowma

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions