forked from krzysztofzablocki/Sourcery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
66 lines (56 loc) · 1.3 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
# Uncomment this line to define a global platform for your project
platform :osx, '10.11'
workspace 'Sourcery.xcworkspace'
use_frameworks!
inhibit_all_warnings!
def meta
pod 'SwiftLint'
end
def test_pods
pod 'Quick'
pod 'Nimble'
end
target 'TemplatesTests' do
project 'Templates/Templates.xcodeproj'
meta
test_pods
end
target 'CodableContextTests' do
project 'Templates/Templates.xcodeproj'
meta
test_pods
end
target 'Sourcery' do
pod 'Stencil', '0.10.1'
pod 'StencilSwiftKit', '2.4.0'
pod 'Commander', '0.6.0'
pod 'PathKit', '0.8.0'
pod "xcproj", '4.2.0'
pod 'SourceKittenFramework', '0.20.0'
pod 'SwiftTryCatch', :git => '[email protected]:seanparsons/SwiftTryCatch', :commit => '798c512'
pod 'libCommonCrypto'
pod 'AEXML', '4.2.2'
target 'SourceryTests' do
inherit! :search_paths
test_pods
end
end
target 'SourceryJS' do
pod 'PathKit'
end
target 'SourcerySwift' do
pod 'PathKit'
pod 'libCommonCrypto'
end
swift4 = ['SourceKittenFramework', 'Yams', 'xcproj']
post_install do |installer|
installer.pods_project.targets.each do |target|
swift_version = '3.2'
if swift4.include?(target.name)
swift_version = '4.0'
end
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = swift_version
end
end
end