forked from BlocksKit/BlocksKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BlocksKit.podspec
54 lines (48 loc) · 1.94 KB
/
BlocksKit.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
Pod::Spec.new do |s|
s.name = 'BlocksKit'
s.version = '2.2.6'
s.license = 'MIT'
s.summary = 'The Objective-C block utilities you always wish you had.'
s.homepage = 'https://zwaldowski.github.io/BlocksKit'
s.author = { 'Zachary Waldowski' => '[email protected]',
'Alexsander Akers' => '[email protected]' }
s.source = { :git => 'https://github.com/zwaldowski/BlocksKit.git', :tag => "v#{s.version}" }
s.requires_arc = true
s.osx.deployment_target = '10.8'
s.ios.deployment_target = '6.0'
s.watchos.deployment_target = '2.0'
s.default_subspec = 'All'
s.subspec 'All' do |ss|
ss.dependency 'BlocksKit/Core'
ss.dependency 'BlocksKit/DynamicDelegate'
ss.ios.dependency 'BlocksKit/MessageUI'
ss.ios.dependency 'BlocksKit/QuickLook'
ss.ios.dependency 'BlocksKit/UIKit'
end
s.subspec 'Core' do |ss|
ss.source_files = 'BlocksKit/BlocksKit.h', "BlocksKit/BKDefines.h", 'BlocksKit/Core/*.{h,m}'
end
s.subspec 'DynamicDelegate' do |ss|
ss.source_files = 'BlocksKit/DynamicDelegate/*.{h,m}', 'BlocksKit/DynamicDelegate/Foundation/*.{h,m}'
end
s.subspec 'MessageUI' do |ss|
ss.dependency 'BlocksKit/Core'
ss.dependency 'BlocksKit/DynamicDelegate'
ss.platform = :ios
ss.source_files = 'BlocksKit/BlocksKit+MessageUI.h', 'BlocksKit/MessageUI/*.{h,m}'
ss.ios.frameworks = 'MessageUI'
end
s.subspec 'QuickLook' do |ss|
ss.dependency 'BlocksKit/Core'
ss.dependency 'BlocksKit/DynamicDelegate'
ss.platform = :ios
ss.source_files = 'BlocksKit/BlocksKit+QuickLook.h', 'BlocksKit/QuickLook/*.{h,m}'
ss.ios.frameworks = 'QuickLook'
end
s.subspec 'UIKit' do |ss|
ss.dependency 'BlocksKit/Core'
ss.dependency 'BlocksKit/DynamicDelegate'
ss.platform = :ios
ss.source_files = 'BlocksKit/BlocksKit+UIKit.h', 'BlocksKit/UIKit/*.{h,m}'
end
end