forked from olenapriadko/HTMLReader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHTMLReader.podspec
27 lines (25 loc) · 1 KB
/
HTMLReader.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
Pod::Spec.new do |s|
s.name = 'HTMLReader'
s.version = `/usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString" Framework/Info.plist`.strip
s.summary = "A WHATWG-compliant HTML parser in Objective-C."
s.homepage = 'https://github.com/0x1eaf/HTMLReader'
s.license = "Public domain"
s.author = { "Nolan Waite" => '[email protected]' }
s.source = { :git => 'https://github.com/0x1eaf/HTMLReader.git', :tag => "v#{s.version}" }
s.source_files = "Sources/**/*.[hm]"
s.requires_arc = true
no_arc_files = "Sources/HTMLNode.m"
s.exclude_files = no_arc_files
s.subspec 'no-arc' do |sna|
sna.source_files = no_arc_files, "Sources/**/*.h"
sna.requires_arc = false
sna.pod_target_xcconfig = {
'OTHER_LDFLAGS' => '$(inherited) -undefined dynamic_lookup',
'CLANG_ENABLE_OBJC_WEAK' => 'YES',
}
end
s.ios.deployment_target = '5.0'
s.osx.deployment_target = '10.7'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
end