forked from evermeer/EVReflection
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEVReflection.podspec
More file actions
88 lines (73 loc) · 2.95 KB
/
EVReflection.podspec
File metadata and controls
88 lines (73 loc) · 2.95 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Pod::Spec.new do |s|
s.name = "EVReflection"
s.version = "4.0.10"
s.summary = "Reflection based (dictionary, JSON or XML) object mapping (including extensions for Alamofire and Moya with RxSwift or ReactiveSwift)"
s.description = <<-EOS
[Reflection](https://github.com/evermeer/EVReflection) based object mapping (dictionary, Json, XML, CKRecord)
including extensions for [Alamofire](https://github.com/Alamofire/Alamofire) and [Moya](https://github.com/Moya/Moya) for network abstraction. And on top of that extension for [RxSwift](https://github.com/ReactiveX/RxSwift/) and [ReactiveSwift]
EOS
s.homepage = "https://github.com/evermeer/EVReflection"
s.license = { :type => "MIT", :file => "License" }
s.author = { "Edwin Vermeer" => "edwin@evict.nl" }
s.social_media_url = "http://twitter.com/evermeer"
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '9.0'
s.source = { :git => "https://github.com/evermeer/EVReflection.git", :tag => s.version }
s.default_subspec = "Core"
s.subspec "Core" do |ss|
ss.source_files = "Source/*.swift"
ss.framework = "Foundation"
end
s.subspec "XML" do |ss|
ss.source_files = "Source/XML/*.swift"
ss.dependency "EVReflection/Core"
ss.dependency "XMLDictionary"
end
s.subspec "CloudKit" do |ss|
ss.source_files = "Source/CloudKit/*.swift"
ss.dependency "EVReflection/Core"
ss.framework = "CloudKit"
end
s.subspec "Alamofire" do |ss|
ss.source_files = "Source/Alamofire/*.swift"
ss.dependency "EVReflection/Core"
ss.dependency "Alamofire", "~> 4.2"
end
s.subspec "AlamofireXML" do |ss|
ss.source_files = "Source/Alamofire/XML/*.swift"
ss.dependency "EVReflection/XML"
ss.dependency "EVReflection/Alamofire"
end
s.subspec "Moya" do |ss|
ss.source_files = "Source/Alamofire/Moya/*.swift"
ss.dependency "Moya", "~> 8.0"
ss.dependency "EVReflection/Alamofire"
end
s.subspec "MoyaXML" do |ss|
ss.source_files = "Source/Alamofire/Moya/XML/*.swift"
ss.dependency "EVReflection/AlamofireXML"
ss.dependency "EVReflection/Moya"
end
s.subspec "MoyaRxSwift" do |ss|
ss.source_files = "Source/Alamofire/Moya/RxSwift/*.swift"
ss.dependency "Moya/RxSwift"
ss.dependency "EVReflection/Moya"
end
s.subspec "MoyaRxSwiftXML" do |ss|
ss.source_files = "Source/Alamofire/Moya/RxSwift/XML/*.swift"
ss.dependency "EVReflection/MoyaRxSwift"
ss.dependency "EVReflection/MoyaXML"
end
s.subspec "MoyaReactiveSwift" do |ss|
ss.source_files = "Source/Alamofire/Moya/ReactiveSwift/*.swift"
ss.dependency "Moya/ReactiveSwift"
ss.dependency "EVReflection/Moya"
end
s.subspec "MoyaReactiveSwiftXML" do |ss|
ss.source_files = "Source/Alamofire/Moya/ReactiveSwift/XML/*.swift"
ss.dependency "EVReflection/MoyaReactiveSwift"
ss.dependency "EVReflection/MoyaXML"
end
end