Repository navigation
Expand file tree
/
Copy pathproject.yml
More file actions
146 lines (146 loc) · 5.23 KB
/
Copy pathproject.yml
File metadata and controls
146 lines (146 loc) · 5.23 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
name: Lunavect
packages:
Sparkle:
url: https://github.com/sparkle-project/Sparkle
exactVersion: 2.9.6
options:
deploymentTarget:
macOS: '14.0'
createIntermediateGroups: true
configFiles:
Debug: Config/Signing.xcconfig
Release: Config/Signing.xcconfig
settings:
base:
SWIFT_VERSION: '5.0'
MACOSX_DEPLOYMENT_TARGET: '14.0'
CODE_SIGN_STYLE: Automatic
REGISTER_APP_GROUPS: YES
WEEKLEFT_APP_GROUP: group.com.weekleft.shared
ENABLE_HARDENED_RUNTIME: YES
CURRENT_PROJECT_VERSION: 235
MARKETING_VERSION: 0.3.0
GENERATE_INFOPLIST_FILE: NO
targets:
Weekleft:
type: application
platform: macOS
sources:
- path: Sources/AwakeService/AwakeProtocol.swift
- path: Sources/AwakeService/SystemSleepSetting.swift
- path: Sources/AwakeService/AwakeLease.swift
- path: Sources/WeekleftCore
- path: Sources/Weekleft
excludes: ['Resources']
- path: Sources/Weekleft/Resources
excludes: [clawd-laptop.gif, IDEConnectors]
buildPhase: resources
- path: Sources/Weekleft/Resources/IDEConnectors
type: folder
buildPhase: resources
- path: Sources/LunavectWidget/Resources
buildPhase: resources
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.weekleft.app
PRODUCT_NAME: Lunavect
INFOPLIST_FILE: Config/App-Info.plist
CODE_SIGN_ENTITLEMENTS: Config/App.entitlements
ENABLE_APP_SANDBOX: NO
dependencies:
- target: LunavectHook
embed: false
- target: LunavectAwakeHelper
embed: false
- package: Sparkle
- target: WeekleftWidget
embed: true
postBuildScripts:
- name: Embed session hook
script: |
mkdir -p "${TARGET_BUILD_DIR}/${WRAPPER_NAME}/Contents/Helpers"
cp "${BUILT_PRODUCTS_DIR}/LunavectHook" "${TARGET_BUILD_DIR}/${WRAPPER_NAME}/Contents/Helpers/LunavectHook"
basedOnDependencyAnalysis: false
- name: Embed awake service
script: |
mkdir -p "${TARGET_BUILD_DIR}/${WRAPPER_NAME}/Contents/Library/LaunchServices" "${TARGET_BUILD_DIR}/${WRAPPER_NAME}/Contents/Library/LaunchDaemons"
cp "${BUILT_PRODUCTS_DIR}/LunavectAwakeHelper" "${TARGET_BUILD_DIR}/${WRAPPER_NAME}/Contents/Library/LaunchServices/LunavectAwakeHelper"
cp "${SRCROOT}/Config/com.weekleft.awake-helper.plist" "${TARGET_BUILD_DIR}/${WRAPPER_NAME}/Contents/Library/LaunchDaemons/com.weekleft.awake-helper.plist"
basedOnDependencyAnalysis: false
- name: Preserve installed hook executable path
script: |
ln -sf Lunavect "${TARGET_BUILD_DIR}/${WRAPPER_NAME}/Contents/MacOS/Weekleft"
basedOnDependencyAnalysis: false
LunavectHook:
type: tool
platform: macOS
sources:
- path: Sources/WeekleftCore
excludes: ['Resources']
- path: Sources/LunavectHook
settings:
base:
PRODUCT_NAME: LunavectHook
PRODUCT_BUNDLE_IDENTIFIER: com.weekleft.hook
OTHER_CODE_SIGN_FLAGS: --identifier com.weekleft.hook
GENERATE_INFOPLIST_FILE: YES
CREATE_INFOPLIST_SECTION_IN_BINARY: YES
ENABLE_APP_SANDBOX: NO
SKIP_INSTALL: YES
LunavectAwakeHelper:
type: tool
platform: macOS
sources:
- path: Sources/AwakeService
- path: Sources/LunavectAwakeHelper
settings:
base:
PRODUCT_NAME: LunavectAwakeHelper
PRODUCT_BUNDLE_IDENTIFIER: com.weekleft.awake-helper
OTHER_CODE_SIGN_FLAGS: --identifier com.weekleft.awake-helper
GENERATE_INFOPLIST_FILE: YES
CREATE_INFOPLIST_SECTION_IN_BINARY: YES
INFOPLIST_KEY_CFBundleDisplayName: Lunavect Awake
ENABLE_APP_SANDBOX: NO
SKIP_INSTALL: YES
WeekleftWidget:
type: app-extension
platform: macOS
sources:
- path: Sources/LunavectWidget
- path: Sources/WeekleftCore/Localization.swift
- path: Sources/WeekleftCore/Resources
buildPhase: resources
- path: Sources/WeekleftCore/Models.swift
- path: Sources/WeekleftCore/Storage.swift
- path: Sources/WeekleftCore/ActivityHistory.swift
- path: Sources/WeekleftCore/ActivityPresentation.swift
- path: Sources/Weekleft/WidgetView.swift
- path: Sources/Weekleft/ActivityWidgetView.swift
- path: Sources/Weekleft/ActivityWidgetIntents.swift
- path: Sources/Weekleft/Resources/LunavectTide.icns
buildPhase: resources
- path: Sources/Weekleft/Resources/claude.pdf
buildPhase: resources
- path: Sources/Weekleft/Resources/codex.pdf
buildPhase: resources
- path: Sources/Weekleft/Resources/Lunavect-LICENSE.txt
buildPhase: resources
- path: Sources/Weekleft/Resources/ThirdParty-LICENSE.txt
buildPhase: resources
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.weekleft.app.widget
PRODUCT_NAME: LunavectWidget
SWIFT_OBJC_BRIDGING_HEADER: Sources/LunavectWidget/WidgetBackground.h
CLANG_ENABLE_OBJC_ARC: YES
INFOPLIST_FILE: Config/Widget-Info.plist
CODE_SIGN_ENTITLEMENTS: Config/Widget.entitlements
APPLICATION_EXTENSION_API_ONLY: YES
ENABLE_APP_SANDBOX: YES
SKIP_INSTALL: YES
schemes:
Weekleft:
build:
targets:
Weekleft: all