forked from nicojan/Chorus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.yml
More file actions
80 lines (77 loc) · 2.8 KB
/
Copy pathproject.yml
File metadata and controls
80 lines (77 loc) · 2.8 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
name: Chorus
options:
bundleIdPrefix: com.nicojan
deploymentTarget:
macOS: "14.0"
xcodeVersion: "16.0"
createIntermediateGroups: true
packages:
Sparkle:
url: https://github.com/sparkle-project/Sparkle
majorVersion: 2.9.3
targets:
Chorus:
type: application
platform: macOS
sources:
- path: Chorus
excludes:
- "**/.DS_Store"
resources:
- path: Chorus/Resources/ServiceCatalog.json
- path: Chorus/Resources/hagezi-light.json
- path: Chorus/Resources/fanboy-annoyance.json
- path: Chorus/Resources/darkreader.js
- path: Chorus/Resources/NotificationScripts
optional: true
dependencies:
- package: Sparkle
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.nicojan.Chorus
PRODUCT_NAME: Chorus
MARKETING_VERSION: "1.5.19"
CURRENT_PROJECT_VERSION: "32"
SWIFT_VERSION: "6.0"
MACOSX_DEPLOYMENT_TARGET: "14.0"
INFOPLIST_FILE: Chorus/Info.plist
CODE_SIGN_ENTITLEMENTS: Chorus/Chorus.entitlements
ENABLE_HARDENED_RUNTIME: true
COMBINE_HIDPI_IMAGES: true
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
GENERATE_INFOPLIST_FILE: true
INFOPLIST_KEY_NSUserNotificationsUsageDescription: "Chorus forwards notifications from your web services to macOS."
INFOPLIST_KEY_LSApplicationCategoryType: "public.app-category.social-networking"
configs:
# Debug builds run under a separate bundle id so a copy launched from
# Xcode can never share the installed release app's data. The bundle id
# keys WebKit storage, Preferences, Caches and notifications; the
# SwiftData store is moved separately in AppState.init (its default path
# is not bundle-scoped). See fix/isolate-debug-data.
Debug:
PRODUCT_BUNDLE_IDENTIFIER: com.nicojan.Chorus.debug
# Only the Release build (used by Archive) needs the Developer ID team.
# Keeping it out of Debug lets the app sign ad-hoc so it and the ad-hoc
# xctest bundle share a Team ID; a real team on only the host trips
# dyld's Team ID check and unit tests fail to load.
Release:
DEVELOPMENT_TEAM: "3CY4DX3K45"
scheme:
testTargets:
- ChorusTests
ChorusTests:
type: bundle.unit-test
platform: macOS
sources:
- path: ChorusTests
dependencies:
- target: Chorus
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.nicojan.ChorusTests
SWIFT_VERSION: "6.0"
MACOSX_DEPLOYMENT_TARGET: "14.0"
# Required so the test bundle can be code-signed; without an explicit
# Info.plist this generates one. (Some XcodeGen versions add it by
# default and some don't, so set it explicitly.)
GENERATE_INFOPLIST_FILE: true