-
-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathproject.yml
More file actions
252 lines (246 loc) · 7.65 KB
/
project.yml
File metadata and controls
252 lines (246 loc) · 7.65 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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
name: Clearly
options:
bundleIdPrefix: com.sabotage
deploymentTarget:
macOS: "15.0"
iOS: "17.0"
xcodeVersion: "16.0"
createIntermediateGroups: true
fileTypes:
icon:
file: true
packages:
cmark-gfm:
url: https://github.com/brokenhandsio/cmark-gfm.git
from: "2.1.0"
Sparkle:
url: https://github.com/sparkle-project/Sparkle
from: "2.6.0"
KeyboardShortcuts:
url: https://github.com/sindresorhus/KeyboardShortcuts
from: "2.1.0"
GRDB:
url: https://github.com/groue/GRDB.swift.git
from: "7.0.0"
MCP:
url: https://github.com/modelcontextprotocol/swift-sdk.git
from: "0.11.0"
swift-argument-parser:
url: https://github.com/apple/swift-argument-parser.git
from: "1.5.0"
ClearlyCore:
path: Packages/ClearlyCore
targets:
Clearly:
type: application
platform: macOS
sources:
- path: Clearly
excludes:
- "iOS/**"
- path: Shared/Resources/mermaid.min.js
buildPhase: resources
- path: Shared/Resources/svg-pan-zoom.min.js
buildPhase: resources
- path: Shared/Resources/katex.min.js
buildPhase: resources
- path: Shared/Resources/katex.min.css
buildPhase: resources
- path: Shared/Resources/fonts
buildPhase: resources
type: folder
- path: Shared/Resources/highlight.min.js
buildPhase: resources
- path: Shared/Resources/highlight-theme.css
buildPhase: resources
- path: Shared/Resources/demo.md
buildPhase: resources
- path: Shared/Resources/getting-started.md
buildPhase: resources
- path: Shared/Resources/wiki-template
buildPhase: resources
type: folder
- path: Shared/Resources/recipes
buildPhase: resources
type: folder
- path: Shared/Resources/live-editor
buildPhase: resources
type: folder
dependencies:
- package: ClearlyCore
- package: cmark-gfm
product: cmark
- package: Sparkle
- package: KeyboardShortcuts
- package: GRDB
- target: ClearlyQuickLook
embed: true
- target: ClearlyCLI
embed: false
postCompileScripts:
- script: |
HELPERS_DIR="${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Helpers"
mkdir -p "$HELPERS_DIR"
cp "${BUILT_PRODUCTS_DIR}/ClearlyCLI" "$HELPERS_DIR/ClearlyCLI"
name: "Copy CLI Helper"
basedOnDependencyAnalysis: false
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.sabotage.clearly
PRODUCT_NAME: Clearly
MARKETING_VERSION: "2.10.0"
CURRENT_PROJECT_VERSION: "1"
SWIFT_VERSION: "5.9"
CODE_SIGN_ENTITLEMENTS: Clearly/Clearly.entitlements
INFOPLIST_FILE: Clearly/Info.plist
GENERATE_INFOPLIST_FILE: NO
ENABLE_HARDENED_RUNTIME: YES
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
DEVELOPMENT_TEAM: W33JZPPPFN
configs:
Debug:
PRODUCT_BUNDLE_IDENTIFIER: com.sabotage.clearly.dev
PRODUCT_NAME: "Clearly Dev"
CODE_SIGN_STYLE: Automatic
Release:
CODE_SIGN_STYLE: Automatic
Clearly-iOS:
type: application
platform: iOS
sources:
- path: Clearly/iOS
- path: Clearly/AppIcon.icon
- path: Shared/Resources/mermaid.min.js
buildPhase: resources
- path: Shared/Resources/svg-pan-zoom.min.js
buildPhase: resources
- path: Shared/Resources/katex.min.js
buildPhase: resources
- path: Shared/Resources/katex.min.css
buildPhase: resources
- path: Shared/Resources/fonts
buildPhase: resources
type: folder
- path: Shared/Resources/highlight.min.js
buildPhase: resources
- path: Shared/Resources/highlight-theme.css
buildPhase: resources
dependencies:
- package: ClearlyCore
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.sabotage.clearly
PRODUCT_NAME: Clearly
MARKETING_VERSION: "1.4.0"
CURRENT_PROJECT_VERSION: "1"
SWIFT_VERSION: "5.9"
TARGETED_DEVICE_FAMILY: "1,2"
SUPPORTS_MACCATALYST: NO
CODE_SIGN_ENTITLEMENTS: Clearly/iOS/Clearly-iOS.entitlements
INFOPLIST_FILE: Clearly/iOS/Info-iOS.plist
GENERATE_INFOPLIST_FILE: NO
DEVELOPMENT_TEAM: W33JZPPPFN
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
# iOS releases independently from Mac — see CLAUDE.md "Versioning"
configs:
Debug:
PRODUCT_BUNDLE_IDENTIFIER: com.sabotage.clearly.dev
PRODUCT_NAME: "Clearly Dev"
CODE_SIGN_STYLE: Automatic
Release:
CODE_SIGN_STYLE: Automatic
ClearlyQuickLook:
type: app-extension
platform: macOS
sources:
- path: ClearlyQuickLook
- path: Shared/Resources/mermaid.min.js
buildPhase: resources
- path: Shared/Resources/svg-pan-zoom.min.js
buildPhase: resources
- path: Shared/Resources/katex.min.js
buildPhase: resources
- path: Shared/Resources/katex.min.css
buildPhase: resources
- path: Shared/Resources/fonts
buildPhase: resources
type: folder
- path: Shared/Resources/highlight.min.js
buildPhase: resources
- path: Shared/Resources/highlight-theme.css
buildPhase: resources
dependencies:
- package: ClearlyCore
- package: cmark-gfm
product: cmark
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.sabotage.clearly.quicklook
PRODUCT_NAME: ClearlyQuickLook
MARKETING_VERSION: "2.10.0"
CURRENT_PROJECT_VERSION: "1"
SWIFT_VERSION: "5.9"
GENERATE_INFOPLIST_FILE: NO
ENABLE_HARDENED_RUNTIME: YES
CODE_SIGN_ENTITLEMENTS: ClearlyQuickLook/ClearlyQuickLook.entitlements
INFOPLIST_FILE: ClearlyQuickLook/Info.plist
DEVELOPMENT_TEAM: W33JZPPPFN
configs:
Debug:
PRODUCT_BUNDLE_IDENTIFIER: com.sabotage.clearly.dev.quicklook
CODE_SIGN_STYLE: Automatic
Release:
CODE_SIGN_STYLE: Automatic
ClearlyCLI:
type: tool
platform: macOS
sources:
- path: ClearlyCLI
dependencies:
- package: ClearlyCore
- package: GRDB
- package: MCP
- package: swift-argument-parser
product: ArgumentParser
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.sabotage.clearly.mcp
PRODUCT_NAME: ClearlyCLI
MARKETING_VERSION: "2.10.0"
CURRENT_PROJECT_VERSION: "1"
SWIFT_VERSION: "6.0"
SWIFT_STRICT_CONCURRENCY: minimal
ENABLE_HARDENED_RUNTIME: YES
SKIP_INSTALL: YES
# Embed an Info.plist via -sectcreate so `Bundle.main` exposes
# CFBundleShortVersionString — `clearly status` reads it for the
# binary_version diagnostic.
GENERATE_INFOPLIST_FILE: YES
CREATE_INFOPLIST_SECTION_IN_BINARY: YES
configs:
Release:
CODE_SIGN_STYLE: Manual
CODE_SIGN_IDENTITY: "Developer ID Application"
ClearlyCLIIntegrationTests:
type: bundle.unit-test
platform: macOS
sources:
- path: ClearlyCLI
excludes:
- "CLI/ClearlyCLI.swift"
- path: ClearlyCLIIntegrationTests
- path: ClearlyCLIIntegrationTests/FixtureVault
buildPhase: resources
type: folder
dependencies:
- package: ClearlyCore
- package: GRDB
- package: MCP
- package: swift-argument-parser
product: ArgumentParser
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.sabotage.clearly.tests
SWIFT_VERSION: "6.0"
SWIFT_STRICT_CONCURRENCY: minimal
GENERATE_INFOPLIST_FILE: YES