Skip to content

Commit 093be7f

Browse files
committed
add description for oclint
1 parent 56ccc93 commit 093be7f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ infer run --skip-analysis-in-path Pods --compilation-database compile_commands.j
8888
# 在命令后添加 -Dsonar.swift.lizard.report=lizard-report.xml
8989
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
9090

91+
# oclint example
92+
-Dsonar.swift.oclint.report=oclint_report.xml
9193
```
9294

9395
## 要求

README_en.md

+3
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ swiftlint lint > swiftlint.txt
7979

8080
lizard --xml > lizard-report.xml
8181
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
82+
83+
# oclint example
84+
-Dsonar.swift.oclint.report=oclint_report.xml
8285
```
8386

8487
## requirement

0 commit comments

Comments
 (0)