forked from tigerAndBull/TABAnimated
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTABAnimated.podspec
44 lines (33 loc) · 1.28 KB
/
TABAnimated.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
Pod::Spec.new do |s|
#库名,和文件名一样
s.name = "TABAnimated"
#tag方式:填tag名称
#commit方式:填commit的id
s.version = "2.2.5"
#库的简介
s.summary = "TABAnimated是一个ios平台上的网络过渡动画(骨架屏)的封装"
#库的描述
s.description = <<-DESC
TABAnimated是一个ios平台上的网络过渡动画(骨架屏)的封装,目前仅支持oc
DESC
#库的远程仓库地址
s.homepage = "https://github.com/tigerAndBull/LoadAnimatedDemo-ios"
#版权方式
s.license = { :type => "MIT", :file => "LICENSE" }
#库的作者
s.author = { "tigerAndBull" => "[email protected]" }
#依赖于ios平台上的8.0
s.platform = :ios, "8.0"
#库的地址
s.source = { :git => "https://github.com/tigerAndBull/LoadAnimatedDemo-ios.git", :tag => "2.2.5" }
#Core文件夹
s.subspec 'Core' do |core|
core.source_files = 'AnimatedDemo/AnimatedDemo/TABAnimated/Core/**/*.{h,m}'
end
#Reveal文件夹
s.subspec 'Reveal' do |reveal|
reveal.source_files = 'AnimatedDemo/AnimatedDemo/TABAnimated/Reveal/**/*.{h,m}'
reveal.resources = ["AnimatedDemo/AnimatedDemo/TABAnimated/Reveal/Source/**/*"]
reveal.dependency 'TABAnimated/Core'
end
end