File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,8 @@ infer run --skip-analysis-in-path Pods --compilation-database compile_commands.j
88
88
# 在命令后添加 -Dsonar.swift.lizard.report=lizard-report.xml
89
89
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
90
90
91
+ # oclint example
92
+ -Dsonar.swift.oclint.report=oclint_report.xml
91
93
```
92
94
93
95
## 要求
Original file line number Diff line number Diff line change @@ -79,6 +79,9 @@ swiftlint lint > swiftlint.txt
79
79
80
80
lizard --xml > lizard-report.xml
81
81
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
82
85
```
83
86
84
87
## requirement
You can’t perform that action at this time.
0 commit comments