forked from mwaterfall/MWFeedParser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MWFeedParser.podspec
32 lines (28 loc) · 1.37 KB
/
MWFeedParser.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
Pod::Spec.new do |s|
s.name = 'MWFeedParser'
s.version = '0.0.3'
s.license = 'MIT'
s.summary = 'An Objective-C RSS / Atom Feed Parser for iOS.'
s.homepage = 'https://github.com/dkonst/MWFeedParser'
s.author = { 'Konstantin Dorodov' => '[email protected]' }
s.source = { :git => 'https://github.com/dkonst/MWFeedParser.git' , :commit => '38b1d075a3971ed239cb17c0f873d22e5e0f1e41' }
# , :commit => 'commit hash'
s.platform = :ios
#s.compiler_flags = '-Wno-format', '-Wno-format-extra-args'
s.framework = 'Foundation'
s.subspec 'NSString+MWHTML' do |ss|
ss.source_files = 'Classes/NSString+HTML.{h,m}', 'Classes/GTMNSString+HTML.{h,m}'
end
s.subspec 'NSString+XMLEntities' do |ss|
ss.source_files = 'Classes/NSString+XMLEntities.h{h,m}'
dependencies = 'MWFeedParser/NSString+MWHTML'
end
s.subspec 'NSDate+InternetDateTime' do |ss|
ss.source_files = 'Classes/NSDate+InternetDateTime.{h,m}'
end
s.subspec 'Feed' do |ss|
ss.source_files = 'Classes/MWFeedInfo.{h,m}', 'Classes/MWFeedItemEnclosure.{h,m}', 'Classes/MWFeedItem.{h,m}', 'Classes/MWFeedParser.{h,m}', 'Classes/MWFeedParser_Private.h', 'Classes/MWFeedInfoProtocol.h', 'Classes/MWFeedItemProtocol.h'
dependency = 'NSString+XMLEntities'
dependency = 'NSDate+InternetDateTime'
end
end