-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.yml
108 lines (106 loc) · 3.03 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
name: curtz-ios
options:
bundleIdPrefix: com.sanctumlabs
targets:
Curtz:
type: framework
platform: [iOS, macOS]
deploymentTarget:
iOS: 15.0
macOS: 12.6
info:
path: Sources/Curtz/Info.plist
sources:
- path: Sources/Curtz
createIntermediateGroups: true
scheme:
testTargets:
- CurtzUnitTests
gatherCoverageData: true
coverageTargets:
- Curtz_macOS
CurtzUnitTests:
type: bundle.unit-test
platform: macOS
deploymentTarget: 12.6
info:
path: Tests/Curtz/Info.plist
sources:
- path: Tests/Curtz
excludes: Tests/Curtz/Info.plist
createIntermediateGroups: true
dependencies:
- target: Curtz_macOS
link: true
CurtzAllTests:
type: framework
platform: macOS
deploymentTarget: 12.6
info:
path: Tests/CurtzAllTests/info.plist
codesign: false
dependencies:
- target: Curtz_macOS
link: true
scheme:
gatherCoverageData: true
testTargets:
- name: CurtzUnitTests
parallelizable: false
randomExecutionOrder: true
coverageTargets: [Curtz_macOS]
CurtziOSApp:
type: application
platform: iOS
deploymentTarget: 15.0
# lifecycle: SwiftUI App
# interface: SwiftUI
info:
path: Sources/CurtziOSApp/Info.plist
properties:
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleName: Curtz
UIRequiredDeviceCapabilities: [armv7]
UILaunchStoryboardName: LaunchScreen
UIAppFonts:
- 'Raleway-Black.ttf'
- 'Raleway-Black.ttf'
- 'Raleway-BlackItalic.ttf'
- 'Raleway-Bold.ttf'
- 'Raleway-BoldItalic.ttf'
- 'Raleway-ExtraBold.ttf'
- 'Raleway-ExtraBoldItalic.ttf'
- 'Raleway-ExtraLight.ttf'
- 'Raleway-ExtraLightItalic.ttf'
- 'Raleway-Italic.ttf'
- 'Raleway-Light.ttf'
- 'Raleway-LightItalic.ttf'
- 'Raleway-Medium.ttf'
- 'Raleway-MediumItalic.ttf'
- 'Raleway-Regular.ttf'
- 'Raleway-SemiBold.ttf'
- 'Raleway-SemiBoldItalic.ttf'
- 'Raleway-Thin.ttf'
- 'Raleway-ThinItalic.ttf'
settings:
INFOPLIST_FILE: Sources/CurtziOSApp/Info.plist
base:
PRODUCT_BUNDLE_IDENTIFIER: com.sanctumlabs.curtz
SUPPORTS_MACCATALYST: NO
MARKETING_VERSION: 0.0.1
sources:
- path: Sources/CurtziOSApp
excludes: Sources/CurtziOSApp/Info.plist
createIntermediateGroups: true
dependencies:
- target: Curtz_iOS
preBuildScripts:
- name: Build R files
script: |
"$PODS_ROOT/R.swift/rswift" generate "$SRCROOT/Sources/CurtziOSApp/R.generated.swift"
outputFiles:
- $SRCROOT/Sources/CurtziOSApp/R.generated.swift
#TODO
# Remove curtz framework [iOS, macOS] so that it can be as generic as possible since it'll not contain any platform specific code
# Then -> Update Curtz_iOS to Curtz
# Then -> Update Curtz_macOS to Curtz