diff --git a/README.md b/README.md index 0a58549..70b484c 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,8 @@ infer run --skip-analysis-in-path Pods --compilation-database compile_commands.j # 在命令后添加 -Dsonar.swift.lizard.report=lizard-report.xml sonar-scanner -Dsonar.host.url=http://sonarqube -Dsonar.projectKey=app -Dsonar.sources=. -Dsonar.swift.swiftlint.report=swiftlint.txt -Dsonar.swift.infer.report=infer-out/report.json +# oclint example +-Dsonar.swift.oclint.report=oclint_report.xml ``` ## 要求 diff --git a/README_en.md b/README_en.md index e45877a..3c30340 100644 --- a/README_en.md +++ b/README_en.md @@ -79,6 +79,9 @@ swiftlint lint > swiftlint.txt lizard --xml > lizard-report.xml sonar-scanner -Dsonar.host.url=http://sonarqube -Dsonar.projectKey=app -Dsonar.sources=. -Dsonar.swift.swiftlint.report=swiftlint.txt -Dsonar.swift.lizard.report=lizard-report.xml -Dsonar.swift.infer.report=infer-out/report.json + +# oclint example +-Dsonar.swift.oclint.report=oclint_report.xml ``` ## requirement