forked from bitwarden/ios
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject-common.yml
More file actions
89 lines (89 loc) · 2.51 KB
/
Copy pathproject-common.yml
File metadata and controls
89 lines (89 loc) · 2.51 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
options:
createIntermediateGroups: true
deploymentTarget:
iOS: 15.0
watchOS: 8.0
groupSortPosition: top
usesTabs: false
indentWidth: 4
tabWidth: 4
include:
- path: Configs/local-sdk.yml
relativePaths: false
enable: ${LOCAL_SDK}
packages:
BitwardenSdk:
url: https://github.com/nuri-com/sdk-swift
revision: 729a39aaf585782f11d19c3c650b3356ed0f52be # 3.0.0-2-ac6eb96
Firebase:
url: https://github.com/firebase/firebase-ios-sdk
exactVersion: 12.14.0
SnapshotTesting:
url: https://github.com/pointfreeco/swift-snapshot-testing
exactVersion: 1.19.2
ViewInspector:
url: https://github.com/nalexn/ViewInspector
exactVersion: 0.10.3
targetTemplates:
# Adds common include/excludes for app and framework targets.
CommonTarget:
sources:
- path: ${sourcesPath}
excludes:
- "**/*Tests.*"
- "**/.gitignore"
- "**/Fixtures/*"
- "**/GoogleService-Info.*.plist"
- "**/Mocks/*"
- "**/Sourcery/Generated/*"
- "**/TestHelpers/*"
- "**/Tests/*"
- "**/__Snapshots__/*"
- "**/sourcery.yml"
- path: ${sourcesPath}
includes:
- "**/__Snapshots__/*"
- "**/GoogleService-Info.*.plist"
buildPhase: none
# Adds common include/excludes for mocks targets.
MocksTarget:
sources:
- path: ${sourcesPath}
includes:
- "**/Fixtures/*"
- "**/Mocks/*"
# Adds common include/excludes for snapshot test targets.
SnapshotTestTarget:
sources:
- path: ${sourcesPath}
includes:
- "**/*SnapshotTests.*"
- "**/TestHelpers/*"
# Adds the Sourcery pre-build script.
SourceryTarget:
sources:
- path: ${sourcesPath}/Sourcery/sourcery.yml
buildPhase: none
preBuildScripts:
- name: Sourcery
path: Scripts/generate-mocks.sh
basedOnDependencyAnalysis: false
outputFiles:
- $(SRCROOT)/${sourcesPath}/Sourcery/Generated/AutoMockable.generated.swift
# Adds common include/excludes for test targets.
TestTarget:
sources:
- path: ${sourcesPath}
excludes:
- "**/*SnapshotTests.*"
- "**/*ViewInspectorTests.*"
includes:
- "**/*Tests.*"
- "**/TestHelpers/*"
# Adds common include/excludes for ViewInspector test targets.
ViewInspectorTestTarget:
sources:
- path: ${sourcesPath}
includes:
- "**/*ViewInspectorTests.*"
- "**/TestHelpers/*"