-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.yml
More file actions
104 lines (104 loc) · 3.02 KB
/
Copy pathproject.yml
File metadata and controls
104 lines (104 loc) · 3.02 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
name: viewmd
options:
bundleIdPrefix: com.debabsah
deploymentTarget:
macOS: "14.0"
createIntermediateGroups: true
settings:
base:
SWIFT_VERSION: "5.10"
CODE_SIGN_IDENTITY: "-"
CODE_SIGNING_REQUIRED: "NO"
# Single source of truth for the version: both targets inherit these.
# Bump here only.
MARKETING_VERSION: "1.0.0"
CURRENT_PROJECT_VERSION: "1.0.0"
targets:
viewmd:
type: application
platform: macOS
sources:
- path: Sources
- path: web/dist
buildPhase: resources
type: folder
- path: bin
buildPhase: resources
type: folder
- path: Resources/AppIcon.icns
buildPhase: resources
info:
path: Generated/Info.plist
properties:
CFBundleDisplayName: viewmd
CFBundleName: viewmd
CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
NSPrincipalClass: NSApplication
LSMinimumSystemVersion: "14.0"
NSHumanReadableCopyright: ""
CFBundleIconFile: AppIcon
CFBundleDocumentTypes:
- CFBundleTypeName: Markdown Document
CFBundleTypeRole: Editor
LSHandlerRank: Default
LSItemContentTypes:
- net.daringfireball.markdown
- CFBundleTypeName: Folder
CFBundleTypeRole: Viewer
LSHandlerRank: None
LSItemContentTypes:
- public.folder
UTImportedTypeDeclarations:
- UTTypeIdentifier: net.daringfireball.markdown
UTTypeDescription: Markdown Document
UTTypeConformsTo: [public.plain-text]
UTTypeTagSpecification:
public.filename-extension: [md, markdown, mdown, mkd]
dependencies:
- target: viewmdQuickLook
embed: true
viewmdQuickLook:
type: app-extension
platform: macOS
sources:
- path: QuickLook
- path: web/dist
buildPhase: resources
type: folder
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.debabsah.viewmd.quicklook
CODE_SIGN_ENTITLEMENTS: QuickLook/viewmdQuickLook.entitlements
info:
path: Generated/QuickLook-Info.plist
properties:
CFBundleDisplayName: viewmd Quick Look
CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
NSExtension:
NSExtensionPointIdentifier: com.apple.quicklook.preview
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).PreviewViewController
NSExtensionAttributes:
QLSupportedContentTypes:
- net.daringfireball.markdown
- public.plain-text
QLSupportsSearchableItems: false
viewmdTests:
type: bundle.unit-test
platform: macOS
sources:
- path: Tests
settings:
base:
GENERATE_INFOPLIST_FILE: YES
dependencies:
- target: viewmd
schemes:
viewmd:
build:
targets:
viewmd: all
test:
targets:
- viewmdTests