-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFastComponent.podspec
122 lines (97 loc) · 3.27 KB
/
FastComponent.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
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
Pod::Spec.new do |s|
s.name = 'FastComponent'
s.version = '0.1.0'
s.summary = '一个快速开发iOSApp的组件库.'
s.description = <<-DESC
一个快速开发iOSApp的组件库. 多种框架集成
DESC
s.homepage = 'https://github.com/Rdxer/FastComponent'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Rdxer' => '[email protected]' }
s.source = { :git => 'https://github.com/Rdxer/FastComponent.git', :tag => s.version.to_s }
s.ios.deployment_target = '8.0'
s.subspec 'Base' do |ss|
ss.source_files = 'Base/**/*.swift'
ss.dependency 'Then'
ss.dependency 'Localize-Swift'
ss.dependency 'XXLogger'
ss.resources = 'FastComponent.bundle'
end
s.subspec 'ConfigEx' do |ss|
ss.source_files = 'ConfigEx/**/*.swift'
# ss.dependency 'Material'
# ss.dependency 'FastComponent/Base'
ss.dependency 'FastComponent/UIKitEx'
ss.dependency 'Then'
end
s.subspec 'UIKitEx' do |ss|
ss.source_files = 'UIKitEx/**/*.swift'
# ss.dependency 'Material'
ss.dependency 'FastComponent/Base'
ss.dependency 'Then'
end
s.subspec 'FoundationEx' do |ss|
ss.source_files = 'FoundationEx/**/*.swift'
ss.dependency 'SwiftyJSON'
ss.dependency 'AsyncSwift'
ss.dependency 'FastComponent/Base'
end
s.subspec 'UICustomEx' do |ss|
ss.source_files = 'UICustomEx/**/*.swift'
ss.dependency 'FastComponent/UIKitEx'
#ss.dependency 'Eureka'
ss.dependency 'FastComponent/Base'
end
s.subspec 'Component' do |ss|
ss.source_files = 'Component/**/*.swift'
ss.dependency 'FastComponent/UIKitEx'
ss.dependency 'FastComponent/Base'
end
s.subspec 'SafariServicesEx' do |ss|
ss.source_files = 'SafariServicesEx/**/*.swift'
ss.dependency 'FastComponent/UIKitEx'
ss.dependency 'FastComponent/Base'
ss.frameworks = 'SafariServices'
end
s.subspec 'MaterialEx' do |ss|
ss.source_files = 'MaterialEx/**/*.swift'
ss.dependency 'Material'
ss.dependency 'FastComponent/UIKitEx'
ss.dependency 'FastComponent/ConfigEx'
ss.dependency 'FastComponent/Base'
end
s.subspec 'PullToRefreshEx' do |ss|
ss.source_files = 'PullToRefreshEx/**/*.swift'
ss.dependency 'DGElasticPullToRefresh'
ss.dependency 'FastComponent/UIKitEx'
ss.dependency 'FastComponent/ConfigEx'
ss.dependency 'FastComponent/Base'
end
s.subspec 'MoyaRESTfulEx' do |ss|
ss.source_files = 'MoyaRESTfulEx/**/*.swift'
ss.dependency 'FastComponent/Base'
ss.dependency 'HandyJSON'
ss.dependency 'SwiftyUserDefaults'
ss.dependency 'RxSwift'
ss.dependency 'Result'
ss.dependency 'Moya/RxSwift'
end
s.subspec 'RxSwiftEx' do |ss|
ss.source_files = 'RxSwiftEx/**/*.swift'
ss.dependency 'FastComponent/Base'
ss.dependency 'RxSwift'
end
s.subspec 'KingfisherEx' do |ss|
ss.source_files = 'KingfisherEx/**/*.swift'
ss.dependency 'Kingfisher'
end
s.subspec 'SnapKitEx' do |ss|
ss.source_files = 'SnapKitEx/**/*.swift'
ss.dependency 'SnapKit'
end
s.subspec 'DeviceEx' do |ss|
ss.source_files = 'DeviceEx/**/*.swift'
ss.dependency 'Device'
end
end