-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPatch.podspec
55 lines (47 loc) · 1.76 KB
/
Patch.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
Pod::Spec.new do |s|
s.name = "Patch"
s.version = "0.1.0"
s.summary = "A stand-in for the real Patch, coming VERY soon."
s.description = <<-DESC
Patch is a flexible datasource framework for iOS. You're going to love it.
DESC
s.homepage = "https://github.com/iosengineer/Patch"
s.license = 'MIT'
s.author = { "Adam Iredale" => "@iosengineer" }
s.source = { :git => "https://github.com/iosengineer/Patch.git", :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/iosengineer'
s.platform = :ios, '7.0'
s.requires_arc = true
s.default_subspec = 'base' # make all optional pods opt-in
s.subspec 'base' do |ss|
ss.source_files = 'Pod/Classes/Base/**/*'
ss.frameworks = 'UIKit'
end
s.subspec 'iCarousel' do |ss|
ss.dependency 'Patch/base'
ss.dependency 'iCarousel'
ss.source_files = 'Pod/Classes/Adapters/PDSCarouselDataSource.{m,h}'
ss.xcconfig = { 'OTHER_CFLAGS' => '-DPATCH_INCLUDES_ICAROUSEL' }
end
s.subspec 'RMStore' do |ss|
ss.dependency 'Patch/base'
ss.dependency 'RMStore'
ss.source_files = 'Pod/Classes/Extensions/PDSRMStoreDataSource.{m,h}'
ss.xcconfig = { 'OTHER_CFLAGS' => '-DPATCH_INCLUDES_RMSTORE' }
end
s.subspec 'CoreData' do |ss|
ss.dependency 'Patch/base'
ss.frameworks = 'CoreData'
ss.source_files = 'Pod/Classes/Extensions/PDSCoreDataSource**.{m,h}'
ss.xcconfig = { 'OTHER_CFLAGS' => '-DPATCH_INCLUDES_COREDATA' }
end
#
# // Coming Soon... (also, Realm, others...)
#
# s.subspec 'YapDatabase' do |ss|
# ss.dependency 'Patch/base'
# ss.dependency 'YapDatabase'
# ss.source_files = 'Pod/Classes/Extensions/PDSYapDataSource.{m,h}'
# end
#
end