-
Notifications
You must be signed in to change notification settings - Fork 509
/
project.yml
51 lines (50 loc) · 1.27 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
name: Swinject
options:
bundleIdPrefix: com.el-eleven
usesTabs: false
indentWidth: 4
tabWidth: 4
deploymentTarget:
macOS: '10.13'
tvOS: '12.0'
iOS: '12.0'
watchOS: '4.0'
visionOS: '1.0'
fileGroups:
- Playgrounds/Sample-iOS.playground
targets:
Swinject:
type: framework
platform: [macOS, iOS, tvOS, watchOS, visionOS]
platformSuffix: -${platform}
settings:
base:
APPLICATION_EXTENSION_API_ONLY: 'YES'
BUILD_LIBRARY_FOR_DISTRIBUTION: 'YES'
RUN_DOCUMENTATION_COMPILER: 'YES'
scheme:
testTargets:
- SwinjectTests-${platform}
sources:
- path: Sources
excludes: ["*.erb"]
postCompileScripts:
- script: >
if [[ "$(uname -m)" == arm64 ]]; then
export PATH="/opt/homebrew/bin:$PATH"
fi
if which swiftlint > /dev/null; then
swiftlint
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi
name: Swiftlint
SwinjectTests:
type: bundle.unit-test
platform: [macOS, iOS, tvOS, watchOS, visionOS]
platformSuffix: -${platform}
scheme: {}
sources:
- Tests/SwinjectTests
dependencies:
- target: Swinject-${platform}