Repository navigation
Expand file tree
/
Copy pathproject.yml
More file actions
122 lines (120 loc) · 4.4 KB
/
Copy pathproject.yml
File metadata and controls
122 lines (120 loc) · 4.4 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
name: Crisp
options:
bundleIdPrefix: com.crisp
deploymentTarget:
macOS: "14.0"
developmentLanguage: en
knownRegions:
- en
- zh-Hans
- zh-Hant
- Base
targets:
Crisp:
type: application
platform: macOS
deploymentTarget: "14.0"
sources:
- path: Crisp
excludes:
- "**/*.md"
dependencies:
# Prebuilt Sparkle, fetched by scripts/fetch-sparkle.sh (make vendor).
- framework: vendor/Sparkle/Sparkle.framework
embed: true
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.crisp.app
# Without an explicit MARKETING_VERSION the generated Info.plist omits
# CFBundleShortVersionString and the app self-reports 1.0.0 forever,
# which keeps the update banner visible even on the latest release.
MARKETING_VERSION: "1.8.1"
CURRENT_PROJECT_VERSION: "5"
INFOPLIST_KEY_LSUIElement: true
INFOPLIST_KEY_NSHumanReadableCopyright: "Crisp - Free & Open Source"
INFOPLIST_KEY_NSAppleEventsUsageDescription: "Crisp uses System Events to switch Dark Mode with the system's animated transition."
SWIFT_VERSION: "6.0"
CODE_SIGN_ENTITLEMENTS: Crisp/Crisp.entitlements
ENABLE_HARDENED_RUNTIME: YES
CODE_SIGNING_REQUIRED: YES
CODE_SIGN_IDENTITY: "Apple Development"
SWIFT_OBJC_BRIDGING_HEADER: Crisp/Crisp-Bridging-Header.h
# SLSConfigureDisplayEnabled / SLSGetDisplayList live in the private
# SkyLight.framework (physical display disconnect). SkyLight is already
# loaded in-process via AppKit, so mark just these two symbols as
# resolved-at-runtime instead of hard-linking a private framework path.
OTHER_LDFLAGS: "-Wl,-U,_SLSConfigureDisplayEnabled -Wl,-U,_SLSGetDisplayList -Wl,-U,_SLSSetDisplayRotation"
FRAMEWORK_SEARCH_PATHS: "vendor/Sparkle"
LD_RUNPATH_SEARCH_PATHS: "@executable_path/../Frameworks"
GENERATE_INFOPLIST_FILE: YES
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
crispctl:
type: tool
platform: macOS
deploymentTarget: "14.0"
sources:
- path: Sources/crispctl
- path: Crisp/Models/CrispControlModel.swift
- path: Crisp/Models/BrightnessKeySteps.swift
settings:
base:
PRODUCT_NAME: crispctl
SWIFT_VERSION: "6.0"
CrispTests:
type: bundle.unit-test
platform: macOS
deploymentTarget: "14.0"
sources:
- path: CrispTests
- path: Crisp/Models/DisplayColorMode.swift
- path: Crisp/Models/DisplayModeGeometry.swift
- path: Crisp/Models/DisplayModeCommitScope.swift
- path: Crisp/Models/DDCServiceMatcher.swift
- path: Crisp/Models/DDCOperationQueuePool.swift
- path: Crisp/Models/DisplayConnectionQueue.swift
- path: Crisp/Models/DDCOperationGeneration.swift
- path: Crisp/Models/DDCTopologyChange.swift
- path: Crisp/Models/RefreshRateFormat.swift
- path: Crisp/Models/GammaPersistenceKey.swift
- path: Crisp/Models/HiDPIOverrideCommand.swift
- path: Crisp/Models/VariableRefreshModes.swift
- path: Crisp/Models/KeyboardShortcut.swift
- path: Crisp/Models/CombinedBrightnessMath.swift
- path: Crisp/Models/DisplayPreset.swift
- path: Crisp/Models/CrispVirtualDisplayIdentity.swift
- path: Crisp/Models/GammaAdjustment.swift
- path: Crisp/Models/CrispControlModel.swift
- path: Crisp/Models/BrightnessKeySteps.swift
- path: Crisp/Models/ScreenCount.swift
- path: Crisp/Models/DDCVolumeMax.swift
- path: Crisp/Models/VolumeKeyRouting.swift
- path: Crisp/Models/EdgeCrossing.swift
- path: Crisp/Models/StatusItemMirror.swift
- path: Crisp/Models/SliderMagnet.swift
- path: Crisp/Models/DDCInputSource.swift
- path: Crisp/Models/BrightnessControlRoute.swift
- path: Crisp/Models/DisplayRotation.swift
- path: Crisp/Models/ArrangementSnap.swift
- path: Crisp/Models/DebugReport.swift
- path: Crisp/Models/KeepAwakeDuration.swift
- path: Crisp/Models/OSDSegmentedLevel.swift
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.crisp.tests
GENERATE_INFOPLIST_FILE: YES
SWIFT_VERSION: "6.0"
TEST_HOST: ""
BUNDLE_LOADER: ""
schemes:
Crisp:
build:
targets:
Crisp: all
crispctl: all
test:
targets:
- CrispTests
crispctl:
build:
targets:
crispctl: all