Skip to content

Commit 946af66

Browse files
authored
Merge pull request #17 from xuwening/master
增加podspec
2 parents ee68f0a + 12997df commit 946af66

1 file changed

Lines changed: 68 additions & 0 deletions

File tree

LDRNDiffUpdate.podspec

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
#
2+
# Be sure to run `pod spec lint react-native-diff-update.podspec' to ensure this is a
3+
# valid spec and to remove all comments including this before submitting the spec.
4+
#
5+
# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
6+
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
7+
#
8+
9+
Pod::Spec.new do |s|
10+
11+
s.name = "LDRNDiffUpdate"
12+
s.version = "1.0.1"
13+
s.summary = "react native hot update."
14+
15+
s.description = <<-DESC
16+
react native component for diff update.
17+
DESC
18+
19+
s.homepage = "https://github.com/xuwening/LDReactNativeDiffUpdate.git"
20+
# s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
21+
22+
s.license = { :type => 'MIT', :file => 'LICENSE' }
23+
s.author = { "hongjingjun" => "hongjingjun@leadeon.cn" }
24+
25+
# s.platform = :ios
26+
# s.platform = :ios, "5.0"
27+
s.ios.deployment_target = '8.0'
28+
29+
s.library = 'z', 'bz2'
30+
s.dependency 'React'
31+
s.dependency 'SSZipArchive'
32+
33+
34+
s.source_files = 'ios/LDRNDiffUpdate/*.{h,m}', 'ios/LDRNDiffUpdate/bzip/*.{h,c}', 'ios/LDRNDiffUpdate/md5/*.{h,m}'
35+
s.public_header_files = ['ios/LDRNDiffUpdate/LDRNDiffUpdate.h']
36+
37+
# s.subspec 'Core' do |core|
38+
# core.source_files = 'ios/LDRNDiffUpdate/*.{h,m}'
39+
# core.public_header_files = ['ios/LDRNDiffUpdate/LDRNDiffUpdate.h']
40+
# end
41+
42+
# s.subspec 'SSZipArchive' do |ss|
43+
# ss.source_files = 'ios/LDRNDiffUpdate/SSZipArchive/*.{h,m}', 'ios/LDRNDiffUpdate/SSZipArchive/aes/*.{h,c}', 'ios/LDRNDiffUpdate/SSZipArchive/minizip/*.{h,c}'
44+
# ss.private_header_files = 'ios/LDRNDiffUpdate/SSZipArchive/*.h', 'ios/LDRNDiffUpdate/SSZipArchive/aes/*.h', 'ios/LDRNDiffUpdate/SSZipArchive/minizip/*.h'
45+
# end
46+
47+
# s.subspec 'bspatch' do |bs|
48+
# bs.source_files = 'ios/LDRNDiffUpdate/bzip/*.{h,c}'
49+
# bs.private_header_files = 'ios/LDRNDiffUpdate/bzip/*.h'
50+
# end
51+
52+
# s.subspec 'md5' do |md|
53+
# md.source_files = 'ios/LDRNDiffUpdate/md5/*.{h,m}'
54+
# md.private_header_files = 'ios/LDRNDiffUpdate/md5/*.h'
55+
# end
56+
57+
s.source = { :git => "https://github.com/xuwening/LDReactNativeDiffUpdate.git", :tag => "#{s.version}" }
58+
59+
# s.preserve_paths = "FilesToSave", "MoreFilesToSave"
60+
61+
# s.framework = "SomeFramework"
62+
# s.frameworks = "SomeFramework", "AnotherFramework"
63+
64+
# s.library = "iconv"
65+
# s.libraries = "iconv", "xml2"
66+
67+
68+
end

0 commit comments

Comments
 (0)