-
Notifications
You must be signed in to change notification settings - Fork 0
/
Ghost.podspec
executable file
·38 lines (31 loc) · 1.16 KB
/
Ghost.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
Pod::Spec.new do |s|
s.name = 'Ghost'
s.version = '1.4.0'
s.summary = 'Versatile HTTP networking framework written in Swift.'
s.homepage = 'https://github.com/Meniny/Ghost'
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.authors = { 'Elias Abel' => 'admin@meniny.cn' }
s.source = { :git => 'https://github.com/Meniny/Ghost.git', :tag => s.version.to_s }
s.social_media_url = 'https://meniny.cn'
# s.screenshot = ''
s.swift_version = "4.0"
s.ios.deployment_target = '8.0'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '9.0'
s.osx.deployment_target = '10.10'
s.framework = 'Foundation'
s.module_name = 'Ghost'
s.default_subspecs = 'Core', 'URLSession', 'Hunter'
s.subspec 'Core' do |ss|
ss.source_files = "Ghost/Core/*.{h,swift}"
end
s.subspec 'URLSession' do |ss|
ss.dependency 'Ghost/Core'
ss.source_files = "Ghost/URLSession/*.{h,swift}"
end
s.subspec 'Hunter' do |ss|
ss.dependency 'Ghost/Core'
ss.dependency 'Ghost/URLSession'
ss.source_files = "Ghost/Hunter/*.{h,swift}"
end
end