forked from BlocksKit/BlocksKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BlocksKit.podspec
22 lines (22 loc) · 876 Bytes
/
BlocksKit.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Pod::Spec.new do |s|
s.name = 'BlocksKit'
s.version = '1.0.5'
s.license = 'MIT'
s.summary = 'The Objective-C block utilities you always wish you had.'
s.homepage = 'https://github.com/zwaldowski/BlocksKit'
s.author = { 'Zachary Waldowski' => '[email protected]',
'Alexsander Akers' => '[email protected]' }
s.source = { :git => 'https://github.com/zwaldowski/BlocksKit.git', :tag => 'v1.0.5' }
s.source_files = 'BlocksKit'
s.dependency 'A2DynamicDelegate'
s.clean_paths = 'GHUnitIOS.framework/', 'Tests/', 'BlocksKit.xcodeproj/', '.gitignore'
if config.ios?
s.frameworks = 'MessageUI'
end
def s.post_install(target)
prefix_header = config.project_pods_root + target.prefix_header_filename
prefix_header.open('a') do |file|
file.puts(%{#ifdef __OBJC__\n#import "BlocksKit.h"\n#endif})
end
end
end