forked from Swinject/Swinject
-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.yml
46 lines (46 loc) · 1.12 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
name: Swinject
options:
bundleIdPrefix: com.el-eleven
usesTabs: false
indentWidth: 4
tabWidth: 4
deploymentTarget:
macOS: '10.10'
tvOS: '9.0'
iOS: '9.0'
watchOS: '2.0'
fileGroups:
- Playgrounds/Sample-iOS.playground
targets:
Swinject:
type: framework
platform: [macOS, iOS, tvOS, watchOS]
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 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]
platformSuffix: -${platform}
scheme: {}
sources:
- Tests/SwinjectTests
dependencies:
- target: Swinject-${platform}