Repository navigation
Expand file tree
/
Copy pathNGKit.podspec
More file actions
59 lines (51 loc) · 1.78 KB
/
Copy pathNGKit.podspec
File metadata and controls
59 lines (51 loc) · 1.78 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
58
59
Pod::Spec.new do |s|
s.name = "NGKit"
s.version = "0.2.1"
s.source = { :git => "https://github.com/NagiYan/NGKit.git", :tag =>"#{s.version}" }
s.summary = "my lib, with some usefull tools, use swift4.0 + oc, no dependency on other pods"
s.description = <<-DESC
Blocks,Device,Extension,Pattern,View, some useful extensions, some view, location services and so on.
DESC
s.homepage = "https://github.com/NagiYan/NGKit"
s.license = "MIT"
s.author = { "nagi" => "yxj@foxmail.com" }
s.platform = :ios, "8.0"
s.default_subspec = 'All'
s.subspec 'All' do |spec|
spec.ios.dependency 'NGKit/Blocks'
spec.ios.dependency 'NGKit/Device'
spec.ios.dependency 'NGKit/Extension'
spec.ios.dependency 'NGKit/Pattern'
spec.ios.dependency 'NGKit/View'
end
s.subspec 'Blocks' do |spec|
spec.requires_arc = true
spec.source_files = "NGKit/Blocks/*"
spec.exclude_files = "NGKitTests/*"
spec.frameworks = "UIKit"
end
s.subspec 'Device' do |spec|
spec.requires_arc = true
spec.source_files = "NGKit/Device/*"
spec.exclude_files = "NGKitTests/*"
spec.frameworks = "UIKit"
end
s.subspec 'Extension' do |spec|
spec.requires_arc = true
spec.source_files = "NGKit/Extension/**/*", "NGKit/NGCommon.swift"
spec.exclude_files = "NGKitTests/*"
spec.frameworks = "UIKit"
end
s.subspec 'Pattern' do |spec|
spec.requires_arc = true
spec.source_files = "NGKit/Pattern/*"
spec.exclude_files = "NGKitTests/*"
spec.frameworks = "UIKit"
end
s.subspec 'View' do |spec|
spec.requires_arc = true
spec.source_files = "NGKit/View/*", "NGKit/Extension/UI/*", "NGKit/NGCommon.swift"
spec.exclude_files = "NGKitTests/*"
spec.frameworks = "UIKit"
end
end