forked from didi/mand-mobile-rn
-
Notifications
You must be signed in to change notification settings - Fork 1
/
MandMobileRN.podspec
46 lines (37 loc) · 1.89 KB
/
MandMobileRN.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |spec|
spec.name = "MandMobileRN"
spec.version = package["version"]
spec.summary = "MandMobileRN."
spec.description = <<-DESC
mand-mobile-rn 是滴滴金融 FE 团队开发的面向金融场景的 react-native 组件库。
DESC
spec.homepage = "https://github.com/didi/mand-mobile-rn"
spec.license = "MIT"
spec.authors = { "ringlong" => "266949@qq.com", "hbxeagle" => "hbxeagle@gmail.com", "liujb" => "liujiangbei88@gmail.com", "zhuchu" => "zhuochuhy@163.com", "KennethYo" => "youzicong@gmail.com", "liuwei" => "574613441@qq.com", "tryao" => "tryao66@gmail.com" }
spec.platform = :ios
spec.platform = :ios, "9.0"
spec.source = { :git => "https://github.com/didi/mand-mobile-rn.git", :tag => spec.version }
spec.subspec "Core" do |ss|
# ss.dependency "yoga", "#{package["version"]}.React"
ss.source_files = "src/natives/Core/Classes", "src/natives/Core/Classes/*.{h,m}"
ss.public_header_files = "src/natives/Core/Classes/*.h"
ss.resources = "src/assets/**/*.{ttf,json,png,jpg,svg,strings,otf}"
end
spec.subspec "MDNumberKeyboard" do |ss|
ss.source_files = "src/natives/NumberKeyboard/ios/*.{h,m}"
ss.public_header_files = "src/natives/NumberKeyboard/ios/*.h"
end
spec.subspec "MDRefreshControl" do |ss|
ss.source_files = "src/natives/RefreshControl/ios/*.{h,m}"
ss.public_header_files = "src/natives/RefreshControl/ios/*.h"
ss.dependency "MJRefresh", "~> 3.1"
end
spec.subspec "MDImagePicker" do |ss|
ss.source_files = "src/natives/ImagePicker/ios/*.{h,m}","src/natives/ImagePicker/ios/MDImagePickerController/*.{h,m}"
ss.public_header_files = "src/natives/ImagePicker/ios/*.h"
end
spec.requires_arc = true
spec.dependency "React"
end