forked from pivotal-legacy/PivotalCoreKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PivotalCoreKit.podspec
90 lines (75 loc) · 3.36 KB
/
PivotalCoreKit.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Pod::Spec.new do |s|
s.name = 'PivotalCoreKit'
s.version = '0.1.0'
s.license = { :type => 'MIT', :file => 'LICENSE.markdown' }
s.summary = 'Shared library and test code for iOS projects.'
s.homepage = 'https://github.com/pivotal/PivotalCoreKit'
s.author = { 'Pivotal Labs' => 'http://pivotallabs.com' }
s.source = { :git => 'https://github.com/pivotalshiny/PivotalCoreKit.git' }
s.platform = :ios, '5.0'
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.dependency 'PivotalCoreKit/UIKit/Core'
core.dependency 'PivotalCoreKit/Foundation/Core'
end
s.subspec 'Development' do |dev|
dev.dependency 'PivotalCoreKit/Core'
dev.dependency 'PivotalCoreKit/Foundation/SpecHelper/Extensions'
dev.dependency 'PivotalCoreKit/Foundation/SpecHelper/Fixtures'
dev.dependency 'PivotalCoreKit/Foundation/SpecHelper/Helpers'
dev.dependency 'PivotalCoreKit/Foundation/SpecHelper/Fakes'
dev.dependency 'PivotalCoreKit/UIKit/SpecHelper/Extensions'
dev.dependency 'PivotalCoreKit/UIKit/SpecHelper/Matchers'
dev.dependency 'PivotalCoreKit/UIKit/SpecHelper/Stubs'
dev.dependency 'PivotalCoreKit/CoreLocation/SpecHelper/Base'
dev.dependency 'PivotalCoreKit/CoreLocation/SpecHelper/Extensions'
end
s.subspec 'UIKit' do |ui|
ui.subspec 'Core' do |uicore|
uicore.source_files = 'UIKit/Core/**/*.{h,m}'
end
ui.subspec 'SpecHelper' do |spec|
spec.subspec 'Extensions' do |ext|
ext.source_files = ['UIKit/SpecHelper/Extensions/*.{h,m}', 'UIKit/SpecHelper/UIKit+PivotalSpecHelper.h']
end
spec.subspec 'Matchers' do |match|
match.source_files = 'UIKit/SpecHelper/Matchers/*.{h,m}'
end
spec.subspec 'Stubs' do |stub|
stub.source_files = ['UIKit/SpecHelper/Stubs/*.{h,m}', 'UIKit/SpecHelper/UIKit+PivotalSpecHelperStubs.h']
end
end
end
s.subspec 'Foundation' do |f|
f.subspec 'Core' do |c|
c.source_files = 'Foundation/Core/**/*.{h,m}'
c.libraries = 'xml2'
c.xcconfig = {'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
end
f.subspec 'SpecHelper' do |spec_helper|
spec_helper.subspec 'Extensions' do |ext|
ext.source_files = ['Foundation/Core/Extensions/NSObject+MethodRedirection.h', 'Foundation/SpecHelper/Helpers/PCKConnectionBlockDelegate.h', 'Foundation/SpecHelper/Helpers/PCKConnectionDelegateWrapper.h', 'Foundation/SpecHelper/Fakes/PSHKFakeHTTPURLResponse.h', 'Foundation/SpecHelper/Fakes/FakeOperationQueue.h', 'Foundation/SpecHelper/Extensions/*.{h,m}']
end
spec_helper.subspec 'Fixtures' do |fix|
fix.source_files = 'Foundation/SpecHelper/Fixtures/*.{h,m}'
end
spec_helper.subspec 'Helpers' do |help|
help.source_files = ['Foundation/SpecHelper/Extensions/NSURLConnection+Spec.h', 'Foundation/SpecHelper/Helpers/*.{h,m}']
end
spec_helper.subspec 'Fakes' do |fake|
fake.source_files = 'Foundation/SpecHelper/Fakes/*.{h,m}'
fake.dependency 'PivotalCoreKit/Foundation/SpecHelper/Fixtures'
end
end
end
s.subspec 'CoreLocation' do |location|
location.subspec 'SpecHelper' do |h|
h.subspec 'Base' do |base|
base.source_files = 'CoreLocation/SpecHelper/*.{h,m}'
end
h.subspec 'Extensions' do |ext|
ext.source_files = 'CoreLocation/SpecHelper/Extensions/*.{h,m}'
end
end
end
end