-
Notifications
You must be signed in to change notification settings - Fork 33
/
Axe.podspec
60 lines (60 loc) · 2.38 KB
/
Axe.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Pod::Spec.new do |s|
s.name = "Axe"
s.version = "0.1.0"
s.summary = "Axe is all the reinforcement this army needs"
s.homepage = "https://github.com/axe-org/axe"
s.license = { :type => "MIT"}
s.author = { "luoxianming" => "[email protected]" }
s.ios.deployment_target = '8.0'
s.source = { :git => "https://github.com/axe-org/axe.git", :tag => s.version}
s.subspec "Core" do |ss|
ss.source_files = "Axe/Axe/Axe.h"
ss.subspec "Router" do |sss|
sss.source_files = "Axe/Axe/Router/*.{h,m}","Axe/Axe/AXEDefines.h"
end
ss.subspec "Event" do |sss|
sss.source_files = "Axe/Axe/Event/*.{h,m}","Axe/Axe/AXEDefines.h"
end
ss.subspec "Data" do |sss|
sss.source_files = "Axe/Axe/Data/*.{h,m}","Axe/Axe/AXEDefines.h"
end
end
s.subspec "TabBarController" do |ss|
ss.dependency "Axe/Core"
ss.source_files = "Axe/Extension/TabBarController/*.{h,m}"
end
s.subspec "Html" do |ss|
ss.dependency "Axe/Util"
ss.dependency "Axe/JavascriptSupport"
ss.dependency "WebViewJavascriptBridge"
ss.source_files = "Axe/Extension/Html/*.{h,m}"
end
s.subspec "JavascriptSupport" do |ss|
ss.dependency "Axe/Core"
ss.source_files = "Axe/Extension/JavascriptSupport/*.{h,m}"
end
s.subspec "React" do |ss|
ss.dependency "Axe/Util"
ss.dependency "Axe/JavascriptSupport"
ss.dependency "MXReact/CxxBridge"
ss.source_files = "Axe/Extension/React/*.{h,m}"
end
s.subspec "OfflineHtml" do |ss|
ss.dependency "Axe/Html"
ss.dependency "OfflinePackage"
ss.source_files = "Axe/Extension/OfflineHtml/*.{h,m}"
end
s.subspec "OfflineReact" do |ss|
ss.dependency "Axe/React"
ss.dependency "OfflinePackage"
ss.source_files = "Axe/Extension/OfflineReact/*.{h,m}"
end
s.subspec "Util" do |ss|
ss.dependency "Axe/Core"
ss.source_files = "Axe/Extension/Util/*.{h,m}"
end
s.subspec "DynamicRouter" do |ss|
ss.dependency "Axe/Core"
ss.source_files = "Axe/Extension/DynamicRouter/*.{h,m}"
end
end