Repository navigation
Expand file tree
/
Copy pathproject.yml
More file actions
105 lines (99 loc) · 3.54 KB
/
Copy pathproject.yml
File metadata and controls
105 lines (99 loc) · 3.54 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
name: Cacheout
options:
deploymentTarget:
macOS: "14.0"
bundleIdPrefix: com.cacheout
xcodeVersion: "16.0"
groupSortPosition: top
packages:
Sparkle:
url: https://github.com/sparkle-project/Sparkle
from: "2.6.0"
targets:
Cacheout:
type: application
platform: macOS
sources:
- path: Sources/Cacheout
excludes:
- Resources
# Copy LaunchDaemon plist into Contents/Library/LaunchDaemons/
- path: Sources/Cacheout/Resources/com.cacheout.memhelper.plist
buildPhase:
copyFiles:
destination: wrapper
subpath: Contents/Library/LaunchDaemons
- path: Sources/Cacheout/Resources
excludes:
- com.cacheout.memhelper.plist
buildPhase: resources
dependencies:
- target: CacheoutShared
- target: CacheoutHelper
copy:
destination: wrapper
subpath: Contents/Library/LaunchDaemons
- package: Sparkle
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.cacheout.app
MACOSX_DEPLOYMENT_TARGET: "14.0"
GENERATE_INFOPLIST_FILE: YES
INFOPLIST_KEY_CFBundleIconFile: Cacheout
INFOPLIST_KEY_LSUIElement: false
INFOPLIST_KEY_NSHighResolutionCapable: true
# TCC usage strings (R9). Key set mirrors
# ProjectTreeWalker.tccProtectedAncestorNames — keep the three locations
# in sync: scripts/bundle.sh heredoc, Sources/Cacheout/Info.plist,
# and these entries. Downloads is defensive: no current scan walks
# ~/Downloads, but the key ships so any future Downloads-reaching
# scanner prompts with an explanation.
INFOPLIST_KEY_NSDocumentsFolderUsageDescription: "Cacheout looks for developer build-artifact folders (target/, node_modules/, .venv/ and similar) and stale git worktrees in Documents during scans you start. Nothing is deleted without your confirmation."
INFOPLIST_KEY_NSDesktopFolderUsageDescription: "Cacheout looks for developer build-artifact folders (target/, node_modules/, .venv/ and similar) and stale git worktrees on your Desktop during scans you start. Nothing is deleted without your confirmation."
INFOPLIST_KEY_NSDownloadsFolderUsageDescription: "Cacheout reads Downloads only if a scan you start includes it, to find developer caches. Nothing is deleted without your confirmation."
scheme:
testTargets: []
CKernelPrivate:
type: library.static
platform: macOS
sources:
- path: Sources/CKernelPrivate
headerVisibility: public
settings:
base:
MACOSX_DEPLOYMENT_TARGET: "14.0"
HEADER_SEARCH_PATHS: "$(SRCROOT)/Sources/CKernelPrivate/include"
CacheoutHelper:
type: tool
platform: macOS
sources:
- path: Sources/CacheoutHelper
dependencies:
- target: CacheoutShared
- target: CacheoutHelperLib
- target: CKernelPrivate
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.cacheout.memhelper
MACOSX_DEPLOYMENT_TARGET: "14.0"
CacheoutHelperLib:
type: library.static
platform: macOS
sources:
- path: Sources/CacheoutHelperLib
dependencies:
- target: CacheoutShared
- target: CKernelPrivate
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.cacheout.helperlib
MACOSX_DEPLOYMENT_TARGET: "14.0"
CacheoutShared:
type: library.static
platform: macOS
sources:
- path: Sources/CacheoutShared
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.cacheout.shared
MACOSX_DEPLOYMENT_TARGET: "14.0"