forked from QueryKit/QueryKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQueryKit.podspec
More file actions
55 lines (46 loc) · 1.95 KB
/
QueryKit.podspec
File metadata and controls
55 lines (46 loc) · 1.95 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
Pod::Spec.new do |spec|
spec.name = 'QueryKit'
spec.version = '0.8.3'
spec.summary = 'A simple CoreData query language for Swift.'
spec.homepage = 'http://querykit.org/'
spec.license = { :type => 'BSD', :file => 'LICENSE' }
spec.social_media_url = 'http://twitter.com/kylefuller'
spec.source = { :git => 'https://github.com/QueryKit/QueryKit.git', :tag => "#{spec.version}" }
spec.source_files = 'QueryKit/*.{h}', 'QueryKit/ObjectiveC/*.{h,m}'
spec.requires_arc = true
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.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