-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
141 lines (111 loc) · 2.73 KB
/
Podfile
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
workspace 'TDD-201'
inhibit_all_warnings!
target 'ContractTesting' do
platform :ios, '11.0'
project 'ContractTesting/ContractTesting.xcodeproj'
use_frameworks!
target 'ContractTestingTests' do
pod 'OHHTTPStubs/Swift'
pod 'PactConsumerSwift'
pod 'Fakery'
end
end
target 'MockingFramework' do
platform :ios, '11.0'
project 'MockingFramework/MockingFramework.xcodeproj'
use_frameworks!
target 'MockingFrameworkTests' do
pod 'Cuckoo'
end
end
target 'WriteToFile' do
platform :ios, '11.0'
project 'WriteToFile/WriteToFile.xcodeproj'
use_frameworks!
pod 'Swinject'
target 'WriteToFileTests' do
pod 'Cuckoo'
end
end
target 'WriteToUserDefaults' do
platform :ios, '11.0'
project 'WriteToUserDefaults/WriteToUserDefaults.xcodeproj'
use_frameworks!
pod 'Swinject'
target 'WriteToUserDefaultsTests' do
pod 'Cuckoo/OCMock'
end
end
target 'DependencyInjection' do
platform :macos, '10.15'
project 'DependencyInjection/DependencyInjection.xcodeproj'
use_frameworks!
pod 'Swinject'
pod 'RealmSwift'
target 'DependencyInjectionTests' do
end
end
target 'CombineWithREST' do
platform :ios, '11.0'
project 'CombineWithREST/CombineWithREST.xcodeproj'
use_frameworks!
pod 'Swinject'
target 'CombineWithRESTTests' do
pod 'OHHTTPStubs/Swift'
pod 'Cuckoo'
pod 'Fakery'
pod 'PactConsumerSwift'
pod 'UIUTest'
end
end
target 'HTTPStubbing' do
platform :ios, '11.0'
project 'HTTPStubbing/HTTPStubbing.xcodeproj'
use_frameworks!
target 'HTTPStubbingTests' do
pod 'OHHTTPStubs/Swift'
end
end
target 'UIKitWithStoryboard' do
platform :ios, '11.0'
project 'UIKitWithStoryboard/UIKitWithStoryboard.xcodeproj'
use_frameworks!
pod 'Swinject'
target 'UIKitWithStoryboardTests' do
pod 'UIUTest'
pod 'Cuckoo'
pod 'Cuckoo/OCMock'
pod 'Fakery'
end
end
target 'SwiftUIExample' do
platform :ios, '13.0'
project 'SwiftUIExample/SwiftUIExample.xcodeproj'
use_frameworks!
pod 'Swinject'
target 'SwiftUIExampleTests' do
pod 'ViewInspector'
pod 'Fakery'
pod 'OHHTTPStubs/Swift'
pod 'Cuckoo'
pod 'PactConsumerSwift'
end
target 'SwiftUIExampleUITests' do
pod 'Swinject'
end
end
target 'MutationTesting' do
project 'MutationTesting/MutationTesting.xcodeproj'
pod 'SwiftLint'
end
post_install do |installer|
installer.aggregate_targets.each do |target|
project = target.user_project
project.targets.each do |target|
next unless target.shell_script_build_phases.none? { |n| "Lint" == n.name }
phase = target.new_shell_script_build_phase("Lint")
phase.shell_script = "${PODS_ROOT}/SwiftLint/swiftlint --config ../.swiftlint.yml"
end
project.save
end
end