-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
79 lines (64 loc) · 1.92 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
# Uncomment this line to define a global platform for your project
platform :osx, '10.13'
workspace 'Sourcery.xcworkspace'
use_frameworks!
inhibit_all_warnings!
# Define it just once, since it's used in multiple places
# 0.32.0 is the first version with inproc communication option to SourceKit
# and therefore the minimum version required to run this Sourcery version in the sandbox of a Swift Package Plugin
source_kitten_framework_version = '0.32.0'
def meta
pod 'SwiftLint'
end
def test_pods
pod 'Quick'
pod 'Nimble'
end
def pathkit
pod 'PathKit', '0.9.2'
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.13.1'
pod 'StencilSwiftKit', '2.7.0'
pod 'Commander', '0.9.2' # lower versions show compilor issues with some the command<A:ArgumentConvertible... > functions. Seems related to the new string conversion we see on other places
pathkit
pod "xcproj", :git =>'[email protected]:tuist/xcodeproj.git', :tag => '4.3.1'
pod 'SourceKittenFramework', source_kitten_framework_version
pod 'Yams' , '4.0.6' # Mirror SourceKittens requirement, since this is the driving dependency
target 'SourceryTests' do
inherit! :search_paths
test_pods
end
end
target 'SourceryJS' do
pathkit
end
target 'SourcerySwift' do
pathkit
end
target 'SourceryUtils' do
pathkit
end
target 'SourceryFramework' do
pathkit
pod 'SourceKittenFramework', source_kitten_framework_version
end
# This is a temporary workaround to make all dependencies target macOS 10.13
# To replace this dependencies should be updated to versions that target 10.13+.
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.13'
end
end
end