Repository navigation
Expand file tree
/
Copy pathproject.yml
More file actions
101 lines (101 loc) · 3.1 KB
/
Copy pathproject.yml
File metadata and controls
101 lines (101 loc) · 3.1 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
name: Flowlight
options:
bundleIdPrefix: com.flowlight
deploymentTarget:
macOS: "15.0"
createIntermediateGroups: true
settings:
base:
SWIFT_VERSION: "5.0"
MACOSX_DEPLOYMENT_TARGET: "15.0"
DEVELOPMENT_TEAM: ""
CODE_SIGN_STYLE: Automatic
ENABLE_HARDENED_RUNTIME: YES
MARKETING_VERSION: "0.13.8"
CURRENT_PROJECT_VERSION: "29"
targets:
Flowlight:
type: application
platform: macOS
sources:
- Flowlight
- Shared
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.flowlight.app
PRODUCT_NAME: Flowlight
# Set by scripts/build-signed.sh for Developer ID builds; empty for ad-hoc local builds.
PROVISIONING_PROFILE_SPECIFIER: $(FL_APP_PROFILE)
INFOPLIST_FILE: Flowlight/Info.plist
CODE_SIGN_ENTITLEMENTS: Flowlight/Flowlight.entitlements
GENERATE_INFOPLIST_FILE: NO
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
dependencies:
- target: FlowlightExtension
embed: true
codeSign: true
copy:
destination: plugins
subpath: ../Library/SystemExtensions
- target: FlowlightResponseScriptHelper
embed: true
codeSign: true
copy:
destination: executables
subpath: ../Library/Helpers
- sdk: libsqlite3.tbd
- sdk: NetworkExtension.framework
- sdk: SystemExtensions.framework
FlowlightResponseScriptHelper:
type: tool
platform: macOS
sources:
- FlowlightResponseScriptHelper
settings:
base:
PRODUCT_NAME: FlowlightResponseScriptHelper
dependencies:
- sdk: JavaScriptCore.framework
FlowlightExtension:
type: system-extension
platform: macOS
sources:
- FlowlightExtension
- Shared
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.flowlight.app.filter
PRODUCT_NAME: com.flowlight.app.filter
PROVISIONING_PROFILE_SPECIFIER: $(FL_EXT_PROFILE)
INFOPLIST_FILE: FlowlightExtension/Info.plist
CODE_SIGN_ENTITLEMENTS: FlowlightExtension/FlowlightExtension.entitlements
GENERATE_INFOPLIST_FILE: NO
SKIP_INSTALL: YES
# The extension's version is pinned in FlowlightExtension/Info.plist, on its own lifecycle rather than the
# app's, so an app-only update replaces no extension and needs no restart. It is set there, not as a
# MARKETING_VERSION override here, because the release workflow reads MARKETING_VERSION out of this file and
# a second one would break its tag/version check.
dependencies:
- sdk: NetworkExtension.framework
FlowlightTests:
type: bundle.unit-test
platform: macOS
sources:
- FlowlightTests
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.flowlight.app.tests
GENERATE_INFOPLIST_FILE: YES
TEST_HOST: "$(BUILT_PRODUCTS_DIR)/Flowlight.app/Contents/MacOS/Flowlight"
BUNDLE_LOADER: "$(TEST_HOST)"
dependencies:
- target: Flowlight
schemes:
Flowlight:
build:
targets:
Flowlight: all
FlowlightTests: [test]
test:
targets:
- FlowlightTests