-
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathproject.yml
More file actions
191 lines (186 loc) · 5.69 KB
/
project.yml
File metadata and controls
191 lines (186 loc) · 5.69 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
name: Clearly
options:
bundleIdPrefix: com.sabotage
deploymentTarget:
macOS: "14.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"
targets:
Clearly:
type: application
platform: macOS
sources:
- path: Clearly
- path: Shared
- path: Shared/Resources/mermaid.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
dependencies:
- 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.3.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
configs:
Debug:
PRODUCT_BUNDLE_IDENTIFIER: com.sabotage.clearly.dev
PRODUCT_NAME: "Clearly Dev"
Release:
CODE_SIGN_STYLE: Manual
CODE_SIGN_IDENTITY: "Developer ID Application"
ClearlyQuickLook:
type: app-extension
platform: macOS
sources:
- path: ClearlyQuickLook
- path: Shared
- path: Shared/Resources/mermaid.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: cmark-gfm
product: cmark
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.sabotage.clearly.quicklook
PRODUCT_NAME: ClearlyQuickLook
MARKETING_VERSION: "2.3.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
configs:
Debug:
PRODUCT_BUNDLE_IDENTIFIER: com.sabotage.clearly.dev.quicklook
Release:
CODE_SIGN_STYLE: Manual
CODE_SIGN_IDENTITY: "Developer ID Application"
ClearlyCLI:
type: tool
platform: macOS
sources:
- path: ClearlyCLI
- path: Clearly/VaultIndex.swift
- path: Clearly/FileParser.swift
- path: Clearly/FileNode.swift
- path: Clearly/IgnoreRules.swift
- path: Clearly/DiagnosticLog.swift
- path: Shared/FrontmatterSupport.swift
dependencies:
- 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.3.0"
CURRENT_PROJECT_VERSION: "1"
SWIFT_VERSION: "6.0"
SWIFT_STRICT_CONCURRENCY: minimal
ENABLE_HARDENED_RUNTIME: YES
SKIP_INSTALL: 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: Clearly/VaultIndex.swift
- path: Clearly/FileParser.swift
- path: Clearly/FileNode.swift
- path: Clearly/IgnoreRules.swift
- path: Clearly/DiagnosticLog.swift
- path: Shared/FrontmatterSupport.swift
- path: ClearlyCLIIntegrationTests
- path: ClearlyCLIIntegrationTests/FixtureVault
buildPhase: resources
type: folder
dependencies:
- 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