-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathTwelveTwentyToolkit.podspec
92 lines (77 loc) · 2.87 KB
/
TwelveTwentyToolkit.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
90
91
92
Pod::Spec.new do |s|
s.name = 'TwelveTwentyToolkit'
s.version = '0.6.1'
s.summary = 'The Twelve Twenty Toolkit of reusable Objective-C classes.'
s.homepage = 'http://twelvetwenty.nl'
s.license = 'MIT'
s.author = {
'Eric-Paul Lecluse' => '[email protected]',
'Jankees van Woezik' => '[email protected]'
}
s.source = {
:git => 'https://github.com/TwelveTwenty/TwelveTwentyToolkit-ObjC.git',
:tag => s.version.to_s
}
s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.8'
s.requires_arc = true
s.subspec 'Core' do |c|
c.requires_arc = true
c.source_files = 'TwelveTwentyToolkit/TwelveTwentyToolkit.{h,m}'
end
s.subspec 'Foundation' do |fn|
fn.requires_arc = true
fn.dependency 'TwelveTwentyToolkit/Core'
fn.source_files = 'TwelveTwentyToolkit/Foundation/**/*.{h,m}'
end
s.subspec 'Logging' do |lg|
lg.requires_arc = true
lg.dependency 'TwelveTwentyToolkit/Foundation'
lg.osx.source_files = 'TwelveTwentyToolkit/Logging/**/*.{h,m}'
lg.ios.source_files = 'TwelveTwentyToolkit/Logging-iOS/**/*.{h,m}'
end
s.subspec 'CoreData' do |cd|
cd.requires_arc = true
cd.frameworks = 'CoreData'
cd.dependency 'TwelveTwentyToolkit/Logging'
cd.source_files = 'TwelveTwentyToolkit/CoreData/*.{h,m}'
cd.ios.source_files = 'TwelveTwentyToolkit/CoreData/ios/*.{h,m}'
cd.osx.source_files = 'TwelveTwentyToolkit/CoreData/osx/*.{h,m}'
end
s.subspec 'Persistence' do |ps|
ps.requires_arc = true
ps.ios.frameworks = 'CoreData'
ps.ios.dependency 'TwelveTwentyToolkit/CoreData'
ps.ios.source_files = 'TwelveTwentyToolkit/Persistence/*.{h,m}'
ps.osx.dependency 'TwelveTwentyToolkit/Foundation'
end
s.subspec 'Tables' do |tb|
tb.requires_arc = true
tb.dependency 'TwelveTwentyToolkit/CoreData'
tb.ios.source_files = 'TwelveTwentyToolkit/Tables/**/*.{h,m}'
end
s.subspec 'Layout' do |lo|
lo.requires_arc = true
lo.dependency 'TwelveTwentyToolkit/Logging'
lo.ios.dependency 'TwelveTwentyToolkit/CoreData'
lo.ios.dependency 'EEEManualLayout'
lo.ios.source_files = 'TwelveTwentyToolkit/Layout/**/*.{h,m}'
end
s.subspec 'CoreAnimation' do |ca|
ca.requires_arc = true
ca.ios.dependency 'TwelveTwentyToolkit/Logging'
ca.ios.source_files = 'TwelveTwentyToolkit/CoreAnimation/**/*.{h,m}'
ca.osx.dependency 'TwelveTwentyToolkit/Foundation'
end
s.subspec 'Theming' do |th|
th.requires_arc = true
th.ios.dependency 'TwelveTwentyToolkit/Layout'
th.ios.dependency 'TwelveTwentyToolkit/Foundation'
th.ios.source_files = 'TwelveTwentyToolkit/Theming/**/*.{h,m}'
th.osx.dependency 'TwelveTwentyToolkit/Foundation'
end
s.subspec 'CyclicDelegateRetainer' do |tcdr|
tcdr.requires_arc = true
tcdr.source_files = 'TwelveTwentyToolkit/CyclicDelegateRetainer/*.{h,m}'
end
end