-
Notifications
You must be signed in to change notification settings - Fork 87
Expand file tree
/
Copy pathQueryKit.podspec
More file actions
58 lines (49 loc) · 2.05 KB
/
QueryKit.podspec
File metadata and controls
58 lines (49 loc) · 2.05 KB
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
Pod::Spec.new do |spec|
spec.name = 'QueryKit'
spec.version = '0.11.0-beta.2'
spec.summary = 'A simple type-safe Core Data query language.'
spec.homepage = 'http://querykit.org/'
spec.license = { :type => 'BSD', :file => 'LICENSE' }
spec.social_media_url = 'http://twitter.com/QueryKit'
spec.source = { :git => 'https://github.com/QueryKit/QueryKit.git', :tag => "#{spec.version}" }
spec.source_files = 'QueryKit/QueryKit.h'
spec.requires_arc = true
spec.ios.deployment_target = '8.0'
spec.osx.deployment_target = '10.9'
spec.subspec 'ObjectiveC' do |objc_spec|
objc_spec.dependency 'QueryKit/Attribute/ObjectiveC'
objc_spec.dependency 'QueryKit/QuerySet/ObjectiveC'
end
spec.subspec 'Swift' do |swift_spec|
swift_spec.dependency 'QueryKit/Attribute/Swift'
swift_spec.dependency 'QueryKit/QuerySet/Swift'
end
spec.subspec 'Attribute' do |attribute_spec|
attribute_spec.subspec 'ObjectiveC' do |objc_spec|
objc_spec.source_files = 'QueryKit/ObjectiveC/QKAttribute.{h,m}'
end
attribute_spec.subspec 'Swift' do |swift_spec|
swift_spec.dependency 'QueryKit/QuerySet/Swift'
swift_spec.source_files = 'QueryKit/{Attribute,Expression,Predicate}.swift'
end
attribute_spec.subspec 'Bridge' do |bridge_spec|
bridge_spec.dependency 'QueryKit/Attribute/Swift'
bridge_spec.dependency 'QueryKit/Attribute/ObjectiveC'
bridge_spec.source_files = 'QueryKit/ObjectiveC/QKAttribute.swift'
end
end
spec.subspec 'QuerySet' do |queryset_spec|
queryset_spec.subspec 'ObjectiveC' do |objc_spec|
objc_spec.source_files = 'QueryKit/ObjectiveC/QKQuerySet.{h,m}'
end
queryset_spec.subspec 'Swift' do |swift_spec|
swift_spec.source_files = 'QueryKit/QuerySet.swift'
end
queryset_spec.subspec 'Bridge' do |bridge_spec|
bridge_spec.dependency 'QueryKit/QuerySet/Swift'
bridge_spec.dependency 'QueryKit/QuerySet/ObjectiveC'
bridge_spec.source_files = 'QueryKit/ObjectiveC/QKQuerySet.swift'
end
end
end