-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBeyovaNet.podspec
More file actions
34 lines (30 loc) · 1.02 KB
/
BeyovaNet.podspec
File metadata and controls
34 lines (30 loc) · 1.02 KB
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
Pod::Spec.new do |s|
s.name = "BeyovaNet"
s.version = "0.0.10"
s.summary = "BeyovaNet makes it easy to deal with Networking and Codable in Swift"
s.homepage = "https://github.com/Beyova/BeyovaNet"
s.license = { :type => "MIT" }
s.authors = { "canius" => "canius.chu@outlook.com" }
s.requires_arc = true
s.osx.deployment_target = "10.10"
s.ios.deployment_target = "8.0"
s.source = {
:git => "https://github.com/Beyova/BeyovaNet.git",
:tag => s.version,
:submodules => true
}
s.default_subspecs = 'Core'
s.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DBNCocoaPods' }
s.subspec 'Core' do |ss|
ss.source_files = "Sources/*.swift"
ss.osx.deployment_target = "10.10"
ss.ios.deployment_target = "8.0"
end
s.subspec 'Promise' do |ss|
ss.source_files = "BeyovaNetPromise/Sources/*.swift"
ss.osx.deployment_target = "10.10"
ss.ios.deployment_target = "8.0"
ss.dependency 'PromiseKit/CorePromise'
ss.dependency 'BeyovaNet/Core'
end
end