-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.yml
60 lines (59 loc) · 1.47 KB
/
project.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: CaptureKit
options:
developmentLanguage: en
createIntermediateGroups: true
deploymentTarget:
macOS: 11.0
xcodeVersion: 14.0
settings:
base:
SWIFT_VERSION: "5.7"
PRODUCT_BUNDLE_IDENTIFIER: com.nikitavasilev.capture-kit
CODE_SIGN_STYLE: automatic
GENERATE_INFOPLIST_FILE: YES
attributes:
ORGANIZATIONNAME: space-code
schemes:
CaptureKit:
build:
targets:
CaptureKit: all
run:
config: Debug
test:
gatherCoverageData: true
targets:
- CaptureKitTests
coverageTargets:
- CaptureKit
targets:
CaptureKit:
type: framework
platform: macOS
sources:
- path: CaptureKit
settings:
base:
MARKETING_VERSION: 1.0.0
CURRENT_PROJECT_VERSION: 1
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER: NO
CaptureKitTests:
type: bundle.unit-test
platform: macOS
sources:
- CaptureKitTests
dependencies:
- target: CaptureKit
- framework: ThirdParty/OCMock.xcframework
settings:
base:
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER: NO
aggregateTargets:
OCLint:
buildScripts:
- script: |
cd ${SRCROOT}
xcodebuild clean
xcodebuild -project CaptureKit.xcodeproj COMPILER_INDEX_STORE_ENABLE=NO | xcpretty -r json-compilation-database --output compile_commands.json
oclint-json-compilation-database -e build -- -report-type xcode
name: OCLint