-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathHCKitProject.podspec
More file actions
58 lines (47 loc) · 1.98 KB
/
Copy pathHCKitProject.podspec
File metadata and controls
58 lines (47 loc) · 1.98 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
Pod::Spec.new do |s|
s.name = "HCKitProject"
s.version = "0.4.7"
s.ios.deployment_target = '11.0'
s.license = 'MIT'
s.summary = "a Encapsulation of FMDB."
s.homepage = "https://github.com/huachen206/HCKitProject.git"
s.author = { "HuaChen" => "[email protected]" }
s.source = { :git => "https://github.com/huachen206/HCKitProject.git", :tag => s.version }
s.description = <<-DESC
A longer description of HCDBModel in Markdown format.
* Think: Why did you write this? What is the focus? What does it do?
* CocoaPods will be using this to generate tags, and improve search results.
* Try to keep it short, snappy and to the point.
* Finally, don't worry about the indent, CocoaPods strips it!
DESC
s.requires_arc = true
s.default_subspec = 'Whole'
s.subspec 'Whole' do |wh|
wh.dependency 'HCKitProject/Core'
wh.dependency 'HCKitProject/HCDB'
wh.dependency 'HCKitProject/HCHTTPRequest'
end
s.subspec 'Core' do |core|
core.source_files = 'HCCore/*.{h,m}','HCCore/Classes/*.{h,m}','HCCore/CommonCategory/*.{h,m}','HCCore/RuntimeInfo/*.{h,m}'
end
s.subspec 'HCDB' do |db|
db.source_files = 'HCDB/*.{h,m}'
db.resource = 'HCDB/Resources/*'
db.dependency 'HCKitProject/Core'
db.ios.dependency 'FMDB', '~> 2.5'
end
s.subspec 'HCHTTPRequest' do |ht|
ht.source_files = 'HCRequestApi/*.{h,m}'
ht.dependency 'HCKitProject/Core'
ht.ios.dependency 'AFNetworking', '~> 4'
end
s.subspec 'Swift_Core' do |sw_core|
sw_core.source_files = 'HCCore/*.{h,m}','HCCore/Classes/*.{h,m}','HCCore/CommonCategory/*.{h,m}','HCCore/RuntimeInfo/*.{h,m}'
end
s.subspec 'Swift_DB' do |sw_db|
sw_db.source_files = 'HCDB/*.{h,m}'
sw_db.resource = 'HCDB/Resources/*'
sw_db.dependency 'HCKitProject/Swift_Core'
sw_db.ios.dependency 'FMDB', '~> 2.5'
end
end