-
Notifications
You must be signed in to change notification settings - Fork 3
/
project.yml
105 lines (104 loc) · 2.47 KB
/
project.yml
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: base
options:
bundleIdPrefix: com.base
packages:
Fork:
url: https://github.com/0xLeif/Fork
from: 1.0.0
Scribe:
url: https://github.com/0xLeif/Scribe
from: 1.2.0
Disk:
url: https://github.com/0xOpenBytes/Disk
from: 0.1.0
Network:
url: https://github.com/0xOpenBytes/Network
from: 0.1.0
Cache:
url: https://github.com/0xOpenBytes/Cache
from: 0.1.0
Test:
url: https://github.com/0xOpenBytes/Test
from: 0.1.0
OpenBytesNavigation:
url: https://github.com/0xOpenBytes/OpenBytesNavigation
from: 0.1.0
schemes:
base:
build:
targets:
base: all
baseUITests: [run, test]
Screenshots:
build:
targets:
base: all
baseUITests: [run, test]
test:
targets:
- baseUITests
run:
environmentVariables:
SCREENSHOTS: "YES"
targets:
base:
scheme:
testTargets:
- baseTests
info:
path: base/Info.plist
properties:
UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait]
UILaunchScreen: [UILaunchScreen: []]
type: application
platform: iOS
deploymentTarget: "16.0"
sources:
- path: base
name: base
excludes:
- "SPX"
dependencies:
- package: Fork
- package: Scribe
- package: Disk
- package: Network
- package: Cache
- package: Test
- package: OpenBytesNavigation
postCompileScripts:
- name: Swiftlint
script: |
export PATH="$PATH:/opt/homebrew/bin"
if which swiftlint > /dev/null; then
swiftlint --config .swiftlint.yml
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi
basedOnDependencyAnalysis: false
baseTests:
type: bundle.unit-test
platform: iOS
deploymentTarget: "16.0"
sources: [baseTests]
info:
path: baseTests/Info.plist
dependencies:
- target: base
baseUITests:
type: bundle.ui-testing
platform: iOS
deploymentTarget: "16.0"
sources: [baseUITests]
info:
path: baseUITests/Info.plist
properties:
CFBundlePackageType: $(PRODUCT_BUNDLE_PACKAGE_TYPE)
settings:
TEST_TARGET_NAME: base
CODE_SIGN_STYLE: Automatic
CURRENT_PROJECT_VERSION: 1
MARKETING_VERSION: "1.0"
TARGETED_DEVICE_FAMILY: 1
GENERATE_INFOPLIST_FILE: YES
PRODUCT_BUNDLE_IDENTIFIER: com.base.UITests