-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathproject.yml
More file actions
98 lines (94 loc) · 2.68 KB
/
Copy pathproject.yml
File metadata and controls
98 lines (94 loc) · 2.68 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
name: Glint
options:
bundleIdPrefix: app.glint
deploymentTarget:
macOS: "14.0"
createIntermediateGroups: true
generateEmptyDirectories: true
settings:
base:
SWIFT_VERSION: "5.10"
MACOSX_DEPLOYMENT_TARGET: "14.0"
ENABLE_HARDENED_RUNTIME: YES
DEAD_CODE_STRIPPING: YES
SWIFT_TREAT_WARNINGS_AS_ERRORS: NO
packages:
Sparkle:
url: https://github.com/sparkle-project/Sparkle.git
from: "2.6.4"
targets:
Glint:
type: application
platform: macOS
sources:
- path: Glint
excludes:
- "**/.DS_Store"
# Folder references preserve Ghostty's required runtime layout under
# Contents/Resources.
- path: GhosttyResources/ghostty
type: folder
buildPhase: resources
- path: GhosttyResources/terminfo
type: folder
buildPhase: resources
resources:
- Glint/Resources
settings:
base:
PRODUCT_NAME: Glint
PRODUCT_BUNDLE_IDENTIFIER: app.glint.Glint
INFOPLIST_FILE: Glint/Resources/Info.plist
CODE_SIGN_ENTITLEMENTS: Glint/Resources/Glint.entitlements
SWIFT_OBJC_BRIDGING_HEADER: Glint/App/Glint-Bridging-Header.h
CODE_SIGN_STYLE: Automatic
CODE_SIGN_IDENTITY: "-"
DEVELOPMENT_TEAM: ""
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
FRAMEWORK_SEARCH_PATHS:
- "$(SRCROOT)/Vendor"
OTHER_LDFLAGS:
- "-framework"
- "Metal"
- "-framework"
- "MetalKit"
- "-framework"
- "QuartzCore"
- "-framework"
- "CoreText"
- "-framework"
- "AppKit"
- "-framework"
- "Carbon"
- "-framework"
- "IOKit"
- "-framework"
- "Security"
- "-framework"
- "UserNotifications"
- "-lc++"
configs:
# Dev builds get a separate bundle id so macOS treats them as a
# different app: UserDefaults.standard reads from app.glint.Glint.dev,
# Persistence writes into the Glint-Dev dir, and toggles you flip
# in one build don't leak into the other. First dev launch copies
# the prod glint.* defaults across (see GlintApp.init).
Debug:
PRODUCT_BUNDLE_IDENTIFIER: app.glint.Glint.dev
dependencies:
- framework: Vendor/GhosttyKit.xcframework
embed: false
- package: Sparkle
GlintTests:
type: bundle.unit-test
platform: macOS
sources:
- path: GlintTests
excludes:
- "**/.DS_Store"
dependencies:
- target: Glint
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: app.glint.GlintTests
GENERATE_INFOPLIST_FILE: YES