forked from 937447974/YJTableViewFactory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
YJTableViewFactory.podspec
64 lines (49 loc) · 2.21 KB
/
YJTableViewFactory.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
#
# Be sure to run `pod spec lint NAME.podspec.podspec' to ensure this is a
# valid spec and to remove all comments including this before submitting the spec.
#
# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#
# 注册pod权限:pod trunk register [email protected] '阳君' --description='china beijing'
# 验证podspec命令:pod spec lint或 pod spec lint --allow-warnings
# 文档发包:appledoc -c "阳君" --company-id "com.YJFactory" -p YJTableViewFactory -v 2.0 -o ./Documentation ./Classes
# pod发包:pod trunk push YJTableViewFactory.podspec --allow-warnings
Pod::Spec.new do |s|
# ――― Spec Metadata
s.name = "YJTableViewFactory"
s.version = "2.0"
s.summary = "UITableView工厂,可自动填充数据源,填充Cell,缓存高。"
s.homepage = "https://github.com/937447974/YJTableViewFactory"
# ――― Spec License
s.license = { :type => "MIT", :file => "LICENSE" }
# ――― Author Metadata
s.author = { "阳君" => "[email protected]" }
# ――― Platform Specifics
s.platform = :ios
s.ios.deployment_target = "6.0"
# ――― Source Location
s.source = { :git => "https://github.com/937447974/YJTableViewFactory.git", :tag => "v#{s.version}" }
# ――― Source Code
s.source_files = "Classes/*.{h,m}", "README.md"
s.default_subspec = 'Core'
# ――― Project Linking
s.frameworks = "UIKit", "Foundation"
# ――― Project Settings
s.requires_arc = true
# ——— Documentation And API Reference
s.preserve_paths = 'Documentation/*.*'
s.prepare_command = 'sh Documentation/docset-installed.sh'
# ——— Subspecs
s.subspec 'Core' do |core|
core.source_files = 'Classes/DataSource/*.{h,m}', 'Classes/Delegate/*.{h,m}', 'Classes/Extend/*.{h,m}'
core.dependency 'YJTableViewFactory/CellObject'
end
s.subspec 'CellObject' do |co|
co.source_files = 'Classes/CellObject/*.{h,m}'
co.dependency 'YJTableViewFactory/Utils'
end
s.subspec 'Utils' do |u|
u.source_files = 'Classes/Utils/*.{h,m}'
end
end