-
Notifications
You must be signed in to change notification settings - Fork 268
/
Typhoon.podspec
37 lines (30 loc) · 1.5 KB
/
Typhoon.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
Pod::Spec.new do |spec|
spec.name = 'Typhoon'
spec.version = '4.0.9'
spec.license = 'Apache2.0'
spec.summary = 'Dependency injection for Objective-C and Swift. Light-weight, yet flexible and full-featured.'
spec.homepage = 'http://appsquickly.github.io/Typhoon/'
spec.author = {'Jasper Blues, Aleksey Garbarev, Robert Gilliam, Daniel Rodríguez, Erik Sundin & Contributors' => '[email protected]'}
spec.source = {:git => 'https://github.com/appsquickly/Typhoon.git', :tag => spec.version.to_s, :submodules => true}
spec.ios.deployment_target = '5.0'
spec.osx.deployment_target = '10.9'
spec.tvos.deployment_target = '9.0'
spec.source_files = 'Source/**/*.{h,m}'
non_arc_files = 'Source/Factory/Internal/NSInvocation+TCFInstanceBuilder.{h,m}'
spec.ios.exclude_files = 'Source/osx', non_arc_files
spec.osx.exclude_files = 'Source/ios', non_arc_files
spec.tvos.exclude_files = 'Source/osx', non_arc_files
spec.requires_arc = true
spec.subspec 'no-arc' do |sna|
sna.requires_arc = false
sna.source_files = non_arc_files
sna.dependency 'Typhoon/IntrospectionUtils'
end
spec.subspec 'IntrospectionUtils' do |sna|
sna.source_files = 'Source/Utils/TyphoonIntrospectionUtils.{h,m}', 'Source/TypeConversion/TyphoonTypeDescriptor.{h,m}', 'Source/Utils/TyphoonUtils.h'
end
spec.subspec 'DeallocNotifier' do |sna|
sna.source_files = 'Source/Utils/NSObject+DeallocNotification.{h,m}'
end
spec.documentation_url = 'http://www.typhoonframework.org/docs/latest/api/'
end