-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.yml
More file actions
248 lines (248 loc) · 7.81 KB
/
project.yml
File metadata and controls
248 lines (248 loc) · 7.81 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
name: QuickMark
options:
bundleIdPrefix: com.phrontizo
deploymentTarget:
macOS: "14.0"
xcodeVersion: "2630"
settings:
base:
SWIFT_VERSION: "5.9"
MARKETING_VERSION: "1.0"
CURRENT_PROJECT_VERSION: "1"
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: U43DUH8DPY
ARCHS: "$(ARCHS_STANDARD)"
ONLY_ACTIVE_ARCH: NO
ASSETCATALOG_COMPILER_GENERATE_ASSET_SYMBOL_EXTENSIONS: YES
DEAD_CODE_STRIPPING: YES
ENABLE_USER_SCRIPT_SANDBOXING: YES
STRING_CATALOG_GENERATE_SYMBOLS: YES
schemes:
QuickMark:
build:
targets:
QuickMark: all
QuickMarkTests: [test]
run:
config: Debug
test:
config: Debug
targets:
- QuickMarkTests
targets:
QuickMark:
type: application
platform: macOS
sources:
- path: QuickMark
- path: Shared
info:
path: QuickMark/Info.plist
properties:
CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
UTImportedTypeDeclarations:
- UTTypeIdentifier: com.jgraph.drawio
UTTypeDescription: Draw.io Diagram
UTTypeConformsTo:
- public.xml
UTTypeTagSpecification:
public.filename-extension:
- drawio
dependencies:
- target: QuickMarkPreview
embed: true
codeSign: true
- target: QuickMarkDrawio
embed: true
codeSign: true
- target: QuickMarkStructured
embed: true
codeSign: true
settings:
ENABLE_HARDENED_RUNTIME: YES
QuickMarkPreview:
type: app-extension
platform: macOS
sources:
- path: Shared
- path: Markdown
excludes:
- "Resources/**"
- path: Markdown/Resources
buildPhase: resources
- path: SharedResources/viewer-static.min.js
buildPhase: resources
type: file
- path: SharedResources/highlight.min.js
buildPhase: resources
type: file
- path: SharedResources/hljs-themes.css
buildPhase: resources
type: file
info:
path: Markdown/Info.plist
properties:
CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
CFBundleDisplayName: Markdown Preview
NSExtension:
NSExtensionAttributes:
QLSupportedContentTypes:
- public.markdown
- net.daringfireball.markdown
- net.ia.markdown
- com.unknown.md
- io.typora.markdown
- com.nutstore.down
- com.rstudio.rmarkdown
- org.quarto.qmarkdown
- org.apiblueprint.file
- org.textbundle.package
NSExtensionPointIdentifier: com.apple.quicklook.preview
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).PreviewViewController
entitlements:
path: Markdown/Markdown.entitlements
properties:
com.apple.security.temporary-exception.files.absolute-path.read-only:
- /
settings:
PRODUCT_BUNDLE_IDENTIFIER: com.phrontizo.QuickMark.QuickMarkPreview
ENABLE_APP_SANDBOX: YES
ENABLE_HARDENED_RUNTIME: YES
ENABLE_OUTGOING_NETWORK_CONNECTIONS: YES
ENABLE_USER_SELECTED_FILES: readonly
QuickMarkDrawio:
type: app-extension
platform: macOS
sources:
- path: Shared
- path: DrawIO
excludes:
- "Resources/**"
- path: SharedResources/viewer-static.min.js
buildPhase: resources
type: file
info:
path: DrawIO/Info.plist
properties:
CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
CFBundleDisplayName: Draw.io Preview
NSExtension:
NSExtensionAttributes:
QLSupportedContentTypes:
- com.jgraph.drawio
NSExtensionPointIdentifier: com.apple.quicklook.preview
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).PreviewViewController
UTImportedTypeDeclarations:
- UTTypeIdentifier: com.jgraph.drawio
UTTypeDescription: Draw.io Diagram
UTTypeConformsTo:
- public.xml
UTTypeTagSpecification:
public.filename-extension:
- drawio
entitlements:
path: DrawIO/DrawIO.entitlements
properties:
com.apple.security.temporary-exception.files.absolute-path.read-only:
- /
settings:
PRODUCT_BUNDLE_IDENTIFIER: com.phrontizo.QuickMark.QuickMarkDrawio
ENABLE_APP_SANDBOX: YES
ENABLE_HARDENED_RUNTIME: YES
ENABLE_OUTGOING_NETWORK_CONNECTIONS: YES
ENABLE_USER_SELECTED_FILES: readonly
QuickMarkStructured:
type: app-extension
platform: macOS
sources:
- path: Shared
- path: Structured
excludes:
- "Resources/**"
- path: Structured/Resources
buildPhase: resources
- path: SharedResources/highlight.min.js
buildPhase: resources
type: file
- path: SharedResources/hljs-themes.css
buildPhase: resources
type: file
info:
path: Structured/Info.plist
properties:
CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
CFBundleDisplayName: Structured Data Preview
NSExtension:
NSExtensionAttributes:
QLSupportedContentTypes:
- public.json
- public.yaml
- org.toml.toml
- public.xml
NSExtensionPointIdentifier: com.apple.quicklook.preview
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).PreviewViewController
UTImportedTypeDeclarations:
- UTTypeIdentifier: org.toml.toml
UTTypeDescription: TOML Document
UTTypeConformsTo:
- public.text
UTTypeTagSpecification:
public.filename-extension:
- toml
entitlements:
path: Structured/Structured.entitlements
properties:
com.apple.security.temporary-exception.files.absolute-path.read-only:
- /
settings:
PRODUCT_BUNDLE_IDENTIFIER: com.phrontizo.QuickMark.QuickMarkStructured
ENABLE_APP_SANDBOX: YES
ENABLE_HARDENED_RUNTIME: YES
ENABLE_OUTGOING_NETWORK_CONNECTIONS: YES
ENABLE_USER_SELECTED_FILES: readonly
QuickMarkTests:
type: bundle.unit-test
platform: macOS
sources:
- path: Shared
- path: QuickMarkTests
- path: Markdown/MarkdownProcessor.swift
type: file
- path: Markdown/HTMLBuilder.swift
type: file
- path: Markdown/Resources
buildPhase: resources
- path: SharedResources/viewer-static.min.js
buildPhase: resources
type: file
- path: SharedResources/highlight.min.js
buildPhase: resources
type: file
- path: SharedResources/hljs-themes.css
buildPhase: resources
type: file
# Only the Structured PreviewViewController is included here (not Markdown's)
# because both define a class named PreviewViewController. The tests reference
# Structured's static methods (language(for:), buildHTML(...)) directly.
- path: Structured/PreviewViewController.swift
type: file
- path: Structured/Resources/structured-style.css
buildPhase: resources
type: file
- path: Structured/Resources/structured-render.js
buildPhase: resources
type: file
entitlements:
path: QuickMarkTests/QuickMarkTests.entitlements
properties:
com.apple.security.temporary-exception.files.absolute-path.read-only:
- /
settings:
GENERATE_INFOPLIST_FILE: YES
ENABLE_APP_SANDBOX: YES
ENABLE_HARDENED_RUNTIME: YES
ENABLE_OUTGOING_NETWORK_CONNECTIONS: YES