-
Notifications
You must be signed in to change notification settings - Fork 0
/
WebServiceSwift.podspec
45 lines (36 loc) · 1.49 KB
/
WebServiceSwift.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
Pod::Spec.new do |s|
s.name = "WebServiceSwift"
s.version = "3.1.1"
s.summary = "Network layer as Service."
s.description = <<-DESC
Written in Swift.
Network layer as Service.
Contained simple cache storages (on disk as files, used CoreData or in memory).
Contained mock endpoints for test response without API.
DESC
s.homepage = "https://github.com/ProVir/WebServiceSwift"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "ViR (Vitaliy Korotkiy)" => "[email protected]" }
s.source = { :git => "https://github.com/ProVir/WebServiceSwift.git", :tag => "#{s.version}" }
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.default_subspec = 'General'
s.subspec 'Core' do |ss|
ss.source_files = 'Source/*.{h,swift}'
ss.public_header_files = 'Source/*.h'
end
s.subspec 'General' do |ss|
ss.source_files = ['Source/General/*.{swift,xcdatamodeld}', 'Source/General/*.xcdatamodeld/*.xcdatamodel']
ss.resources = ['Source/General/*.xcdatamodeld', 'Source/General/*.xcdatamodeld/*.xcdatamodel']
ss.preserve_paths = 'Source/General/*.xcdatamodeld'
ss.framework = 'CoreData'
ss.dependency 'WebServiceSwift/Core'
end
s.subspec 'Alamofire' do |ss|
ss.source_files = 'Source/Alamofire/*.swift'
ss.dependency 'WebServiceSwift/General'
ss.dependency 'Alamofire'
end
end