forked from jonasman/TeslaSwift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTeslaSwift.podspec
53 lines (41 loc) · 1.58 KB
/
TeslaSwift.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
Pod::Spec.new do |s|
s.name = "TeslaSwift"
s.version = "6.3.1"
s.summary = "Swift library to access the Tesla Model S API."
s.homepage = "https://github.com/jonasman/TeslaSwift"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Joao Nunes" => "[email protected]" }
s.social_media_url = "https://twitter.com/jonas2man"
s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.12'
s.watchos.deployment_target = '3.0'
s.tvos.deployment_target = '10.0'
s.swift_version = '5'
s.source = { :git => "https://github.com/jonasman/TeslaSwift.git", :tag => "#{s.version}" }
s.default_subspec = 'Core'
s.framework = "Foundation"
s.requires_arc = true
s.subspec 'Core' do |ss|
ss.source_files = "Sources/TeslaSwift/**/*"
ss.dependency 'Starscream' , '~> 3'
end
s.subspec 'PromiseKit' do |ss|
ss.source_files = 'Sources/Extensions/PromiseKit/*.swift'
ss.dependency 'PromiseKit/CorePromise' , '~> 6'
ss.dependency 'TeslaSwift/Core'
end
s.subspec 'Combine' do |ss|
ss.source_files = 'Sources/Extensions/Combine/*.swift'
ss.dependency 'TeslaSwift/Core'
ss.ios.deployment_target = '13.0'
ss.osx.deployment_target = '10.15'
ss.watchos.deployment_target = '6.0'
ss.tvos.deployment_target = '13.0'
end
s.subspec 'Rx' do |ss|
ss.source_files = 'Sources/Extensions/Rx/*.swift'
ss.dependency 'RxSwift' , '~> 5'
ss.dependency 'RxCocoa' , '~> 5'
ss.dependency 'TeslaSwift/Core'
end
end