forked from shengquan/GQDataController
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GQDataController.podspec
65 lines (44 loc) · 1.89 KB
/
GQDataController.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
61
62
63
64
65
Pod::Spec.new do |s|
s.name = "GQDataController"
s.version = "1.2.1"
s.summary = "A networking framework for MVVM in iOS"
s.description = <<-DESC
一款符合MVVM模式的网络框架,通过混合AFNetworking和Mantle让你更方便的处理网络交互。
DESC
s.homepage = "https://github.com/gonefish/GQDataController"
s.platform = :ios, "7.0"
s.license = "MIT"
s.author = { "Qian GuoQiang" => "[email protected]" }
s.source = { :git => "https://github.com/gonefish/GQDataController.git", :tag => s.version.to_s }
s.default_subspec = 'Default'
s.subspec 'Default' do |default|
default.library = 'sqlite3'
default.dependency 'AFNetworking', '~> 3.0'
default.source_files = 'GQDataController/*.{h,m}', 'GQDataController/Adapter/GQDefaultAdapter.{h,m}'
end
s.subspec 'Mantle' do |mantle|
mantle.dependency 'Mantle'
mantle.dependency 'GQDataController/Default'
mantle.source_files = 'GQDataController/Adapter/GQMantleAdapter.{h,m}'
end
s.subspec 'YYModel' do |yymodel|
yymodel.dependency 'YYModel'
yymodel.dependency 'GQDataController/Default'
yymodel.source_files = 'GQDataController/Adapter/GQYYModelAdapter.{h,m}'
end
s.subspec 'YYKit' do |yykit|
yykit.dependency 'YYKit'
yykit.dependency 'GQDataController/Default'
yykit.source_files = 'GQDataController/Adapter/GQYYModelAdapter.{h,m}'
end
s.subspec 'JSONModel' do |jsonmodel|
jsonmodel.dependency 'JSONModel'
jsonmodel.dependency 'GQDataController/Default'
jsonmodel.source_files = 'GQDataController/Adapter/GQJSONModelAdapter.{h,m}'
end
s.subspec 'MJExtension' do |mjextension|
mjextension.dependency 'MJExtension'
mjextension.dependency 'GQDataController/Default'
mjextension.source_files = 'GQDataController/Adapter/GQMJExtensionAdapter.{h,m}'
end
end