-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathSuperCodable.podspec
35 lines (27 loc) · 974 Bytes
/
SuperCodable.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
Pod::Spec.new do |s|
s.name = 'SuperCodable'
s.version = '1.0.0'
s.summary = 'give Codable super power'
s.description = 'give Codable super power.'
s.homepage = 'https://github.com/gzkiwiinc/SuperCodable'
s.license = { :type => 'MIT' }
s.author = { 'lacklock' => 'lacklock@gmail.com' }
s.swift_version = '5.0'
s.source = { :git => 'https://github.com/gzkiwiinc/SuperCodable.git', :tag => "#{s.version}" }
s.source_files = 'SuperCodable/*.swift'
s.ios.deployment_target = '8.0'
s.requires_arc = true
s.default_subspec = 'Codable'
s.subspec 'Codable' do |sp|
sp.source_files = 'SuperCodable/*.swift'
end
s.subspec 'Rx' do |sp|
sp.source_files = 'SuperCodable/Rx/*.swift'
sp.dependency 'RxSwift', '~> 4.0'
end
s.subspec 'RealmCache' do |sp|
sp.source_files = 'SuperCodable/Realm/*.swift'
sp.dependency 'RealmSwift'
sp.dependency 'SuperCodable/Codable'
end
end