-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBabel.podspec
40 lines (32 loc) · 1.25 KB
/
Babel.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
Pod::Spec.new do |s|
s.name = 'Babel'
s.version = '0.8.1'
s.summary = 'JSON! *Pure Swift*, failure driven, inferred *but unambiguous*, with powerful *but optional* operators.'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.authors = { 'Mathew Huusko V' => '[email protected]' }
s.homepage = 'https://github.com/mhuusko5/Babel'
s.social_media_url = 'https://twitter.com/mhuusko5'
s.source = { :git => 'https://github.com/mhuusko5/Babel.git', :tag => s.version.to_s }
s.platforms = { :osx => '10.9', :ios => '8.0', :tvos => '9.0', :watchos => '2.0' }
s.swift_version = '5.0'
s.subspec 'Core' do |ss|
ss.source_files = 'Sources/Value.swift', 'Sources/Decoding.swift', 'Sources/JSON.swift'
end
s.subspec 'Decodable' do |ss|
ss.dependency 'Babel/Core'
ss.source_files = 'Sources/Decodable.swift'
end
s.subspec 'Operators' do |ss|
ss.dependency 'Babel/Decodable'
ss.source_files = 'Sources/Operators.swift'
end
s.subspec 'Foundation' do |ss|
ss.dependency 'Babel/Decodable'
ss.frameworks = 'Foundation'
ss.source_files = 'Sources/Foundation.swift'
end
s.subspec 'Helpers' do |ss|
ss.source_files = 'Sources/Helpers.swift'
end
s.default_subspecs = 'Core', 'Decodable', 'Operators', 'Foundation'
end