-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDPAdditions.podspec
37 lines (32 loc) · 1.31 KB
/
DPAdditions.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
Pod::Spec.new do |s|
s.name = "DPAdditions"
s.version = "0.2.2"
s.summary = "Category additions for Foundation and UIKit."
s.description = <<-DESC
Useful and convenient category methods for Foundation and UIKit classes.
Subspecs are also available for AFNetworking and ReactiveCocoa.
DESC
s.homepage = "https://github.com/DuneParkSoftware/DPAdditions"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "Eric Baker" => "[email protected]" }
s.platform = :ios, '7.0'
s.source = { :git => "https://github.com/DuneParkSoftware/DPAdditions.git", :tag => "0.2.2" }
s.source_files = 'DPAdditions'
s.requires_arc = true
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.source_files = 'DPAdditions/*.{h,m}', 'DPAdditions/Foundation/**/*.{h,m}', 'DPAdditions/UIKit/**/*.{h,m}'
end
s.subspec 'AFNetworking' do |af|
af.dependency 'AFNetworking'
af.source_files = 'DPAdditions/AFNetworking/**/*.{h,m}'
end
s.subspec 'Mantle' do |af|
af.dependency 'Mantle'
af.source_files = 'DPAdditions/Mantle/**/*.{h,m}'
end
s.subspec 'ReactiveCocoa' do |rac|
rac.dependency 'ReactiveCocoa'
rac.source_files = 'DPAdditions/ReactiveCocoa/**/*.{h,m}'
end
end