-
Notifications
You must be signed in to change notification settings - Fork 13
/
HAKit.podspec
44 lines (36 loc) · 1.29 KB
/
HAKit.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
Pod::Spec.new do |s|
s.name = 'HAKit'
s.version = '0.4.2'
s.summary = 'Communicate with a Home Assistant instance.'
s.author = 'Home Assistant'
s.homepage = 'https://github.com/home-assistant/HAKit'
s.license = { type: 'Apache 2', file: 'LICENSE.md' }
s.source = { git: 'https://github.com/home-assistant/HAKit.git', tag: s.version.to_s }
s.ios.deployment_target = '12.0'
s.tvos.deployment_target = '12.0'
s.watchos.deployment_target = '5.0'
s.macos.deployment_target = '10.14'
s.swift_versions = ['5.3']
s.default_subspec = 'Core'
s.subspec 'Core' do |subspec|
subspec.source_files = 'Source/**/*.swift'
subspec.dependency 'Starscream', '~> 4.0.4'
end
s.subspec 'PromiseKit' do |subspec|
subspec.dependency 'PromiseKit', '~> 6.13'
subspec.dependency 'HAKit/Core'
subspec.source_files = 'Extensions/PromiseKit/**/*.swift'
end
s.subspec 'Mocks' do |subspec|
subspec.dependency 'HAKit/Core'
subspec.source_files = 'Extensions/Mocks/**/*.swift'
end
s.test_spec 'Tests' do |test_spec|
test_spec.platform = :ios, '12.0'
test_spec.dependency 'HAKit/Core'
test_spec.dependency 'HAKit/PromiseKit'
test_spec.dependency 'HAKit/Mocks'
test_spec.macos.deployment_target = '10.14'
test_spec.source_files = 'Tests/*.swift'
end
end