Repository navigation
Expand file tree
/
Copy pathproject.yml
More file actions
103 lines (97 loc) · 3.37 KB
/
Copy pathproject.yml
File metadata and controls
103 lines (97 loc) · 3.37 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
# xcodegen spec for the Patch Adams macOS app. Run `xcodegen generate`
# (or `make generate`) to produce PatchAdams.xcodeproj. The .xcodeproj
# is gitignored — this YAML is the authoritative project definition.
name: PatchAdams
options:
bundleIdPrefix: io.river.patchadam
deploymentTarget:
macOS: "14.0"
createIntermediateGroups: true
groupSortPosition: top
generateEmptyDirectories: true
settings:
base:
SWIFT_VERSION: "6.0"
SWIFT_STRICT_CONCURRENCY: complete
SWIFT_TREAT_WARNINGS_AS_ERRORS: YES
GCC_TREAT_WARNINGS_AS_ERRORS: YES
ENABLE_USER_SCRIPT_SANDBOXING: YES
SWIFT_UPCOMING_FEATURE_EXISTENTIAL_ANY: YES
# Notarization requires the hardened runtime (D2, M5).
ENABLE_HARDENED_RUNTIME: YES
packages:
PatchAdam:
path: .
targets:
PatchAdams:
type: application
platform: macOS
sources:
- path: App
# Not sandboxed: the app shells out to the user's `git` for
# `show`, `ls-tree`, `cat-file` (docs/spec.md, Stack). App-sandbox
# would block subprocess spawning and arbitrary repository reads.
# This forecloses App Store distribution; the spec proposes direct,
# notarized distribution (open question, DECISIONS.md D2).
entitlements:
path: App/PatchAdams.entitlements
properties:
com.apple.security.app-sandbox: false
info:
path: App/Info.plist
properties:
CFBundleDisplayName: Patch Adams
# From the build settings below, so the DMG and About show the real
# version; XcodeGen otherwise writes a fixed 1.0 (issue #14).
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
LSApplicationCategoryType: public.app-category.developer-tools
ITSAppUsesNonExemptEncryption: false
LSMinimumSystemVersion: "14.0"
# The .patchadam session: one file since D11 (issue #27).
CFBundleDocumentTypes:
- CFBundleTypeName: Patch Adams Session
CFBundleTypeRole: Editor
LSHandlerRank: Owner
LSTypeIsPackage: false
LSItemContentTypes: [io.river.patchadam.session]
UTExportedTypeDeclarations:
- UTTypeIdentifier: io.river.patchadam.session
UTTypeDescription: Patch Adams Session
UTTypeConformsTo: [public.data, public.content]
UTTypeTagSpecification:
public.filename-extension: [patchadam]
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: io.river.patchadam.mac
# The Swift module keeps the old name: with module PatchAdams the
# window never opened on a Mac that had run PatchAdam (2026-10-21,
# bisected; issue #8). Users never see it.
PRODUCT_MODULE_NAME: PatchAdam
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
MARKETING_VERSION: "1.2.3"
CURRENT_PROJECT_VERSION: 9
dependencies:
- package: PatchAdam
product: PatchModel
- package: PatchAdam
product: BaseLoader
- package: PatchAdam
product: ApplyEngine
- package: PatchAdam
product: DiffEngine
- package: PatchAdam
product: AlignmentEngine
- package: PatchAdam
product: SessionModel
- package: PatchAdam
product: SyntaxHighlight
schemes:
PatchAdams:
build:
targets:
PatchAdams: all
run:
config: Debug
test:
config: Debug