forked from jonasman/TeslaSwift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TeslaSwift.podspec
74 lines (59 loc) · 2.33 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Pod::Spec.new do |s|
s.name = "TeslaSwift"
s.version = "7.3.0"
s.summary = "Swift library to access the Tesla Model S, X, 3 and Y API."
s.homepage = "https://github.com/jonasman/TeslaSwift"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Joao Nunes" => "joao3001@hotmail.com" }
s.social_media_url = "https://twitter.com/jonas2man"
s.ios.deployment_target = '13.0'
s.osx.deployment_target = '10.15'
s.watchos.deployment_target = '6.0'
s.tvos.deployment_target = '13.0'
s.swift_version = '5.3'
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/**/*"
end
s.subspec 'Streaming' do |ss|
ss.source_files = 'Sources/Extensions/Streaming/*.swift'
ss.dependency 'TeslaSwift/Core'
ss.dependency 'Starscream' , '~> 4'
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' , '6.0.0-rc.2'
ss.dependency 'RxCocoa' , '6.0.0-rc.2'
ss.dependency 'TeslaSwift/Core'
end
s.subspec 'StreamingCombine' do |ss|
ss.source_files = 'Sources/Extensions/StreamingCombine/*.swift'
ss.dependency 'TeslaSwift/Streaming'
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 'StreamingRx' do |ss|
ss.source_files = 'Sources/Extensions/StreamingRx/*.swift'
ss.dependency 'TeslaSwift/Streaming'
ss.dependency 'RxSwift' , '6.0.0-rc.2'
ss.dependency 'RxCocoa' , '6.0.0-rc.2'
end
end