-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathPredicateFlow.podspec
39 lines (29 loc) · 1.31 KB
/
PredicateFlow.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
Pod::Spec.new do |pf|
pf.name = 'PredicateFlow'
pf.version = '1.6'
pf.summary = 'Flowable NSPredicate. Written in Swift.'
pf.description = <<-DESC
PredicateFlow is a builder that allows you to write amazing, strong-typed and easy-to-read NSPredicate.
DESC
pf.homepage = 'https://github.com/andreadelfante/PredicateFlow'
pf.license = { :type => 'MIT', :file => 'LICENSE' }
pf.author = { 'andreadelfante' => '[email protected]' }
pf.requires_arc = true
pf.source = { :git => 'https://github.com/andreadelfante/PredicateFlow.git', :tag => pf.version.to_s }
pf.swift_version = '5.1'
pf.cocoapods_version = '> 0.39.0'
pf.ios.deployment_target = '9.0'
pf.osx.deployment_target = '10.9'
pf.tvos.deployment_target = '9.0'
pf.watchos.deployment_target = '2.0'
pf.default_subspec = 'Basic'
pf.dependency 'Sourcery', '~> 1.0.2'
pf.subspec 'Basic' do |basic|
basic.source_files = 'PredicateFlow/Classes/**/*'
basic.preserve_paths = [ 'PredicateFlow/Templates', 'PredicateFlow/Classes/Utils' ]
end
pf.subspec 'Realm' do |realm|
realm.source_files = [ 'PredicateFlow/Classes/**/*', 'PredicateFlow-Realm/Classes/**/*' ]
realm.dependency 'RealmSwift'
end
end