forked from liangtongdev/LTxCore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LTxCore.podspec
executable file
·70 lines (56 loc) · 1.89 KB
/
LTxCore.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
66
67
68
69
70
Pod::Spec.new do |s|
s.name = "LTxCore"
s.version = "0.5.7"
s.summary = "组件化管理核心模块. "
s.license = "MIT"
s.author = { "liangtong" => "[email protected]" }
s.homepage = "https://github.com/liangtongdev/LTxCore"
s.platform = :ios, "9.0"
s.ios.deployment_target = "9.0"
s.source = { :git => "https://github.com/liangtongdev/LTxCore.git", :tag => "#{s.version}", :submodules => true }
s.dependency 'MBProgressHUD'
s.dependency 'MJRefresh', '~> 3.1.15.3'
s.dependency 'DZNEmptyDataSet', '~> 1.8.1'
s.dependency 'AFNetworking', '~> 3.2.1'
s.dependency 'SSZipArchive', '~> 2.1.3'
s.dependency 'LTxCategories'
s.dependency 'FMDBExtension'
s.frameworks = "Foundation", "UIKit"
# s.default_subspecs = 'Controllers'
# Model
s.subspec 'Model' do |sp|
sp.source_files = "LTxCore/Model/*.{h,m}"
sp.public_header_files = "LTxCore/Model/*.h"
end
# Utils
s.subspec 'Utils' do |sp|
sp.source_files = "LTxCore/Utils/*.{h,m}"
sp.public_header_files = "LTxCore/Utils/*.h"
sp.dependency 'LTxCore/Model'
end
# Views
s.subspec 'Views' do |sp|
sp.source_files = "LTxCore/Views/*.{h,m}"
sp.public_header_files = "LTxCore/Views/*.h"
sp.dependency 'LTxCore/Utils'
end
# ViewModel
s.subspec 'ViewModel' do |vm|
vm.source_files = "LTxCore/ViewModel/*.{h,m}"
vm.public_header_files = "LTxCore/ViewModel/*.h"
vm.dependency 'LTxCore/Utils'
end
# Controllers
s.subspec 'Controllers' do |sp|
sp.source_files = "LTxCore/Controllers/*.{h,m}"
sp.public_header_files = "LTxCore/Controllers/**/*.h"
sp.dependency 'LTxCore/Views'
sp.dependency 'LTxCore/ViewModel'
end
# Core
s.subspec 'Core' do |sp|
sp.public_header_files = 'LTxCore/LTxCore.h'
sp.source_files = 'LTxCore/LTxCore.h'
sp.dependency 'LTxCore/Controllers'
end
end