@@ -20,35 +20,41 @@ sonar.projectKey=prjKey
20
20
sonar.projectName =prjName
21
21
# Number version (can be found automatically in plist, just comment this line)
22
22
sonar.projectVersion =1.0
23
+
23
24
# Comment if you have a project with mixed ObjC / Swift
24
25
sonar.language =swift
26
+
25
27
# Project description
26
28
sonar.projectDescription =prjDescription
29
+
27
30
# Path to source directories
28
31
sonar.sources =SourceDir
29
32
# Path to test directories (comment if no test)
30
33
sonar.tests =TestDir
34
+
31
35
# Destination Simulator to run surefire
32
36
# As string expected in destination argument of xcodebuild command
33
37
# Example = sonar.swift.simulator=platform=iOS Simulator,name=iPhone 6,OS=9.2
34
- sonar.swift.simulator =platform=iOS Simulator,name=iPhone 6,OS=9.2
38
+ sonar.swift.simulator =platform=iOS Simulator,name=iPhone X,OS=latest
39
+
35
40
# Xcode project configuration (.xcodeproj)
36
41
# and use the later to specify which project(s) to include in the analysis (comma separated list)
37
42
# Specify either xcodeproj or xcodeproj + xcworkspace
38
43
# sonar.swift.project=MyPrj.xcodeproj
39
44
# sonar.swift.workspace=MyWrkSpc.xcworkspace
40
- # Specify your appname.
41
- # This will be something like "myApp"
42
- # Use when basename is different from targeted scheme.
43
- # Or when slather fails with 'No product binary found'
44
- # sonar.swift.appName=myApp
45
+
45
46
# Scheme to build your application
46
47
sonar.swift.appScheme =MyScheme
47
- # Specify a list of framework names.
48
- # Use if you want to measure code coverage with slather on them.
49
- # sonar.coverage.otherBinaryNames=myFramework,myOtherFramework
48
+
49
+ # Specify your appname when different from targeted scheme.
50
+ # Or when slather fails with 'No product binary found'
51
+ # You can also provide a list of framework names to analyse for coverage.
52
+ # This will be something like "myApp" or "myApp,myFramework"
53
+ # sonar.coverage.binaryNames=myApp,myFramework
54
+
50
55
# Configuration to use for your scheme. if you do not specify that the default will be Debug
51
56
sonar.swift.appConfiguration =MyConfiguration
57
+
52
58
# #########################
53
59
# Optional configuration #
54
60
# #########################
@@ -57,21 +63,27 @@ sonar.sourceEncoding=UTF-8
57
63
# SCM
58
64
# sonar.scm.enabled=true
59
65
# sonar.scm.url=scm:git:http://xxx
66
+
60
67
# JUnit report generated by run-sonar.sh is stored in sonar-reports/TEST-report.xml
61
68
# Change it only if you generate the file on your own
62
69
# The XML files have to be prefixed by TEST- otherwise they are not processed
63
70
# sonar.junit.reportsPath=sonar-reports/
71
+
64
72
# Lizard report generated by run-sonar.sh is stored in sonar-reports/lizard-report.xml
65
73
# Change it only if you generate the file on your own
66
74
# sonar.swift.lizard.report=sonar-reports/lizard-report.xml
75
+
67
76
# Cobertura report generated by run-sonar.sh is stored in sonar-reports/coverage-swift.xml
68
77
# Change it only if you generate the file on your own
69
78
# sonar.swift.coverage.reportPattern=sonar-reports/coverage-swift*.xml
79
+
70
80
# OCLint report generated by run-sonar.sh is stored in sonar-reports/oclint.xml
71
81
# Change it only if you generate the file on your own
72
82
# sonar.swift.swiftlint.report=sonar-reports/*swiftlint.txt
83
+
73
84
# Change it only if you generate the file on your own
74
85
# sonar.swift.tailor.report=sonar-reports/*tailor.txt
86
+
75
87
# Paths to exclude from coverage report (surefire, 3rd party libraries etc.)
76
88
# sonar.swift.excludedPathsFromCoverage=pattern1,pattern2
77
89
sonar.swift.excludedPathsFromCoverage =.*Tests.*
0 commit comments