2016-09-07 22:37:59 +00:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
s.name = 'IGListKit'
|
2017-08-31 19:35:22 +00:00
|
|
|
s.version = '3.1.1'
|
2016-09-07 22:37:59 +00:00
|
|
|
s.summary = 'A data-driven UICollectionView framework.'
|
|
|
|
|
s.homepage = 'https://github.com/Instagram/IGListKit'
|
|
|
|
|
s.documentation_url = 'https://instagram.github.io/IGListKit'
|
|
|
|
|
s.description = 'A data-driven UICollectionView framework for building fast and flexible lists.'
|
|
|
|
|
|
|
|
|
|
s.license = { :type => 'BSD' }
|
|
|
|
|
s.authors = 'Instagram'
|
|
|
|
|
s.social_media_url = 'https://twitter.com/fbOpenSource'
|
|
|
|
|
s.source = {
|
|
|
|
|
:git => 'https://github.com/Instagram/IGListKit.git',
|
|
|
|
|
:tag => s.version.to_s,
|
|
|
|
|
:branch => 'stable'
|
|
|
|
|
}
|
|
|
|
|
|
2016-12-27 20:37:57 +00:00
|
|
|
s.subspec 'Diffing' do |ds|
|
|
|
|
|
ds.source_files = 'Source/Common/**/*.{h,m,mm}'
|
|
|
|
|
ds.private_header_files = 'Source/Common/Internal/*.h'
|
|
|
|
|
end
|
2016-12-14 04:31:41 +00:00
|
|
|
|
2016-12-27 20:37:57 +00:00
|
|
|
s.subspec 'Default' do |cs|
|
|
|
|
|
cs.dependency 'IGListKit/Diffing'
|
2016-09-07 22:37:59 +00:00
|
|
|
|
2016-12-27 20:37:57 +00:00
|
|
|
cs.ios.source_files = 'Source/**/*.{h,m,mm}'
|
|
|
|
|
cs.ios.private_header_files = ['Source/Internal/*.h', 'Source/Common/Internal/*.h']
|
2016-12-20 05:01:33 +00:00
|
|
|
|
2016-12-27 20:37:57 +00:00
|
|
|
cs.tvos.source_files = 'Source/**/*.{h,m,mm}'
|
|
|
|
|
cs.tvos.private_header_files = ['Source/Internal/*.h', 'Source/Common/Internal/*.h']
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
s.default_subspec = 'Default'
|
2016-09-07 22:37:59 +00:00
|
|
|
s.requires_arc = true
|
2016-10-29 21:39:18 +00:00
|
|
|
|
|
|
|
|
s.ios.deployment_target = '8.0'
|
|
|
|
|
s.tvos.deployment_target = '9.0'
|
2016-12-29 18:56:56 +00:00
|
|
|
s.osx.deployment_target = '10.10'
|
2016-09-07 22:37:59 +00:00
|
|
|
|
2016-12-14 04:31:41 +00:00
|
|
|
s.ios.frameworks = 'UIKit'
|
|
|
|
|
s.tvos.frameworks = 'UIKit'
|
|
|
|
|
s.osx.frameworks = 'Cocoa'
|
2016-12-14 07:01:21 +00:00
|
|
|
|
2016-09-07 22:37:59 +00:00
|
|
|
s.library = 'c++'
|
|
|
|
|
s.pod_target_xcconfig = {
|
|
|
|
|
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++11',
|
|
|
|
|
'CLANG_CXX_LIBRARY' => 'libc++'
|
|
|
|
|
}
|
|
|
|
|
end
|