Repository navigation
Expand file tree
/
Copy pathproject.yml
More file actions
227 lines (227 loc) · 6.98 KB
/
Copy pathproject.yml
File metadata and controls
227 lines (227 loc) · 6.98 KB
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
name: Thumble
options:
minimumXcodeGenVersion: 2.42.0
deploymentTarget:
iOS: "17.0"
macOS: "14.0"
settings:
base:
SWIFT_VERSION: 5.9
MARKETING_VERSION: 1.0.0
CURRENT_PROJECT_VERSION: 3
VERSIONING_SYSTEM: apple-generic
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS: NO
packages:
ZIPFoundation:
url: https://github.com/weichsel/ZIPFoundation.git
exactVersion: 0.9.20
targets:
ThumbleMac:
type: application
platform: macOS
deploymentTarget: "14.0"
sources:
- path: Sources/Shared
- path: Sources/Mac
- path: Resources/Mac/Assets.xcassets
dependencies:
- package: ZIPFoundation
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.codybontecou.PocketPadMac
PRODUCT_NAME: Thumble Mac
INFOPLIST_FILE: Resources/Mac/Info.plist
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: 67KC823C9A
ENABLE_HARDENED_RUNTIME: YES
ENABLE_USER_SCRIPT_SANDBOXING: NO
MACOSX_DEPLOYMENT_TARGET: "14.0"
postBuildScripts:
- name: Enforce Pairing Stack Budget
basedOnDependencyAnalysis: false
script: |
if [ "$CONFIGURATION" = "Debug" ]; then
python3 "$SRCROOT/scripts/check-controller-stack-frames.py" \
--scope mac-network \
--object-root "${OBJECT_FILE_DIR_normal:-$OBJECT_FILE_DIR}"
fi
ThumbleCLI:
type: tool
platform: macOS
deploymentTarget: "14.0"
sources:
- path: Sources/Shared
- path: Sources/Mac/KeyMap.swift
- path: Sources/Mac/MacControlOutputBinding.swift
- path: Sources/Mac/MacConfigurationBindings.swift
- path: Sources/CLI
dependencies:
- package: ZIPFoundation
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.codybontecou.PocketPad
PRODUCT_NAME: thumble
"CODE_SIGN_IDENTITY[sdk=macosx*]": Apple Development
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: 67KC823C9A
MACOSX_DEPLOYMENT_TARGET: "14.0"
ThumbleBridge:
type: tool
platform: macOS
deploymentTarget: "14.0"
sources:
- path: Sources/Shared
- path: Sources/Mac/KeyMap.swift
- path: Sources/Mac/MacControlOutputBinding.swift
- path: Sources/Mac/MacConfigurationBindings.swift
- path: Sources/Bridge
dependencies:
- package: ZIPFoundation
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.codybontecou.ThumbleBridge
PRODUCT_NAME: thumble-bridge
"CODE_SIGN_IDENTITY[sdk=macosx*]": Apple Development
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: 67KC823C9A
MACOSX_DEPLOYMENT_TARGET: "14.0"
ThumbleLegacyThumbConsoleCLI:
type: tool
platform: macOS
deploymentTarget: "14.0"
sources:
- path: Sources/Shared
- path: Sources/Mac/KeyMap.swift
- path: Sources/Mac/MacControlOutputBinding.swift
- path: Sources/Mac/MacConfigurationBindings.swift
- path: Sources/CLI
dependencies:
- package: ZIPFoundation
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.codybontecou.ThumbConsoleCLI
PRODUCT_NAME: thumbconsole
"CODE_SIGN_IDENTITY[sdk=macosx*]": Apple Development
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: 67KC823C9A
MACOSX_DEPLOYMENT_TARGET: "14.0"
ThumbleLegacyCLI:
type: tool
platform: macOS
deploymentTarget: "14.0"
sources:
- path: Sources/Shared
- path: Sources/Mac/KeyMap.swift
- path: Sources/Mac/MacControlOutputBinding.swift
- path: Sources/Mac/MacConfigurationBindings.swift
- path: Sources/CLI
dependencies:
- package: ZIPFoundation
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.codybontecou.PocketPadCLI
PRODUCT_NAME: pocketpad
"CODE_SIGN_IDENTITY[sdk=macosx*]": Apple Development
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: 67KC823C9A
MACOSX_DEPLOYMENT_TARGET: "14.0"
ThumbleCLITests:
type: bundle.unit-test
platform: macOS
deploymentTarget: "14.0"
sources:
- path: Sources/Shared
- path: Sources/Mac/KeyMap.swift
- path: Sources/Mac/MacControlOutputBinding.swift
- path: Sources/Mac/MacConfigurationBindings.swift
- path: Sources/Mac/MacRustAuthorityInterlock.swift
- path: Sources/Mac/MacSharedKeypadImport.swift
- path: Sources/CLI/ThumbleCLIBackend.swift
- path: Sources/iOS/IOSLocalKeypadUX.swift
- path: Sources/iOS/IOSPendingBuilderArtifactStore.swift
- path: Sources/iOS/IOSBuilderArtifactPickup.swift
- path: Tests
dependencies:
- package: ZIPFoundation
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.codybontecou.PocketPadCLITests
PRODUCT_NAME: ThumbleCLITests
GENERATE_INFOPLIST_FILE: YES
OTHER_SWIFT_FLAGS: "$(inherited) -D XCODEBUILD_TEST"
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: 67KC823C9A
MACOSX_DEPLOYMENT_TARGET: "14.0"
ThumbleiOS:
type: application
platform: iOS
deploymentTarget: "17.0"
sources:
- path: Sources/Shared
- path: Sources/iOS
- path: Resources/iOS/Assets.xcassets
dependencies:
- package: ZIPFoundation
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.codybontecou.PocketPad.iOS
PRODUCT_NAME: Thumble
INFOPLIST_FILE: Resources/iOS/Info.plist
CODE_SIGN_ENTITLEMENTS: Resources/iOS/ThumbleiOS.entitlements
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: 67KC823C9A
IPHONEOS_DEPLOYMENT_TARGET: "17.0"
ENABLE_USER_SCRIPT_SANDBOXING: NO
postBuildScripts:
- name: Enforce Controller Stack Budget
basedOnDependencyAnalysis: false
script: |
if [ "$CONFIGURATION" = "Debug" ]; then
python3 "$SRCROOT/scripts/check-controller-stack-frames.py" \
--scope controller \
--object-root "${OBJECT_FILE_DIR_normal:-$OBJECT_FILE_DIR}"
fi
- name: Enforce iOS Runtime Stack Budget
basedOnDependencyAnalysis: false
script: |
if [ "$CONFIGURATION" = "Debug" ]; then
python3 "$SRCROOT/scripts/check-controller-stack-frames.py" \
--scope ios-runtime \
--object-root "${OBJECT_FILE_DIR_normal:-$OBJECT_FILE_DIR}"
fi
schemes:
ThumbleTests:
build:
targets:
ThumbleCLITests: [test]
test:
targets:
- ThumbleCLITests
ThumbleMac:
build:
targets:
ThumbleMac: all
run:
config: Debug
archive:
config: Release
ThumbleiOS:
build:
targets:
ThumbleiOS: all
run:
config: Debug
archive:
config: Release
ThumbleCLI:
build:
targets:
ThumbleCLI: all
ThumbleLegacyThumbConsoleCLI: all
ThumbleLegacyCLI: all
ThumbleCLITests: [test]
test:
targets:
- ThumbleCLITests