This repository has been archived by the owner on Mar 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathALLKit.podspec
73 lines (64 loc) · 2.43 KB
/
ALLKit.podspec
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
Pod::Spec.new do |s|
s.name = 'ALLKit'
s.version = '1.4'
s.summary = 'Async List Layout Kit'
s.homepage = 'https://github.com/geor-kasapidi/ALLKit'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Georgy Kasapidi' => '[email protected]' }
s.source = { :git => 'https://github.com/geor-kasapidi/ALLKit.git', :tag => "v#{s.version}" }
s.platform = :ios, '9.0'
s.swift_version = '5.1'
s.requires_arc = true
s.default_subspecs = 'StringBuilder', 'Extended'
s.subspec 'Diff' do |ss|
ss.source_files = 'Sources/Diff/*.swift'
end
s.subspec 'SwiftYoga' do |ss|
ss.source_files = 'Sources/Yoga/*.swift'
ss.frameworks = 'Foundation', 'UIKit'
ss.library = 'c++'
ss.dependency 'Yoga', '1.14'
end
s.subspec 'Layout' do |ss|
ss.source_files = 'Sources/Layout/*.swift'
ss.frameworks = 'Foundation', 'UIKit'
ss.dependency 'ALLKit/SwiftYoga'
end
s.subspec 'ListKit' do |ss|
ss.source_files = 'Sources/ListKit/*.swift'
ss.frameworks = 'Foundation', 'UIKit'
ss.dependency 'ALLKit/Layout'
ss.dependency 'ALLKit/Diff'
end
s.subspec 'StringBuilder' do |ss|
ss.source_files = 'Sources/StringBuilder/*.swift'
ss.frameworks = 'Foundation', 'UIKit'
end
s.subspec 'Extended' do |ss|
ss.source_files = 'Sources/Extended/*.swift'
ss.frameworks = 'Foundation', 'UIKit'
ss.dependency 'ALLKit/ListKit'
end
bundleId = 'n.seven.allkit'
s.app_spec 'Demos' do |as|
as.ios.deployment_target = '10.0'
as.source_files = 'Demos/**/*.swift'
as.resources = 'Demos/Assets.xcassets'
as.info_plist = {
'CFBundleIdentifier' => bundleId,
'UIUserInterfaceStyle' => 'Light'
}
as.pod_target_xcconfig = {
'PRODUCT_BUNDLE_IDENTIFIER' => bundleId
}
as.dependency 'PinIt'
as.dependency 'Nuke'
end
s.test_spec 'Tests' do |ts|
ts.requires_app_host = true
ts.test_type = :unit
ts.source_files = 'Tests/**/*.swift'
ts.app_host_name = 'ALLKit/Demos'
ts.dependency 'ALLKit/Demos'
end
end