forked from AndrewBennet/ReadingListV1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.yml
80 lines (80 loc) · 2.37 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
name: ReadingList
targets:
ReadingList:
type: application
platform: iOS
deploymentTarget: 10.3
sources: [ReadingList]
scheme:
testTargets:
- ReadingList_UnitTests
- ReadingList_UITests
- ReadingList_Screenshots
dependencies:
- framework: StoreKit.framework
embed: false
- target: ReadingList_Foundation
prebuildScripts:
- name: SwiftLint
script: |
if [[ -z $CI ]]; then
"/usr/local/bin/swiftlint" --path "${PROJECT_DIR}"
fi
postbuildScripts:
- name: Run Fabric Script
script: |
if [ "${CONFIGURATION}" = "Release" ]; then
"${PODS_ROOT}/Fabric/run" "$FABRIC_API_KEY" "$FABRIC_BUILD_SECRET"
fi
settings:
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: $(inherited)
CODE_SIGN_STYLE: Manual
CODE_SIGN_ENTITLEMENTS: ReadingList/ReadingList.entitlements
DEVELOPMENT_TEAM: YPDEV2E775
PRODUCT_BUNDLE_IDENTIFIER: com.andrewbennet.books
PROVISIONING_PROFILE_SPECIFIER: match Development com.andrewbennet.books
attributes:
SystemCapabilities:
com.apple.iCloud:
enabled: 1
com.apple.InAppPurchase:
enabled: 1
ReadingList_Foundation:
type: framework
platform: iOS
deploymentTarget: 10.3
sources: [ReadingList_Foundation]
settings:
PRODUCT_BUNDLE_IDENTIFIER: com.andrewbennet.ReadingList-Foundation
ReadingList_UnitTests:
type: bundle.unit-test
platform: iOS
sources: [ReadingList_UnitTests]
dependencies:
- target: ReadingList
settings:
# These settings are added when Xcode creates a new project with test targets.
# See https://stackoverflow.com/a/30939244/5513562
BUNDLE_LOADER: $TEST_HOST
TEST_HOST: $(BUILT_PRODUCTS_DIR)/ReadingList.app/ReadingList
ReadingList_UITests:
type: bundle.ui-testing
platform: iOS
sources: [ReadingList_UITests]
dependencies:
- target: ReadingList
ReadingList_Screenshots:
type: bundle.ui-testing
platform: iOS
sources:
- path: ReadingList_Screenshots
- path: ReadingList_UITests/ReadingListApplication.swift
dependencies:
- target: ReadingList
schemes:
Screenshots:
build:
targets:
ReadingList_Screenshots: [test, run]
options:
groupSortPosition: top