-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPersistence.podspec
More file actions
37 lines (29 loc) · 1.08 KB
/
Persistence.podspec
File metadata and controls
37 lines (29 loc) · 1.08 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
Pod::Spec.new do |s|
s.name = "Persistence"
s.version = "0.1.2"
s.summary = "Persistence Framework"
s.description = "Framework to encapsulate persistence logic"
s.homepage = "https://github.com/crisbarril/Persistence"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "Cristian Barril" => "crisbarril@hotmail.com" }
s.platform = :ios, '10.0'
s.source = { :git => "https://github.com/crisbarril/Persistence.git", :tag => s.version }
s.swift_version = '4.0'
s.default_subspecs = 'Full'
s.subspec 'Full' do |ss|
ss.dependency 'Persistence/CoreData'
ss.dependency 'Persistence/Realm'
end
s.subspec 'Core' do |ss|
ss.source_files = "Persistence/Protocols/**/*.swift", "Persistence/Helper/**/*.swift"
end
s.subspec 'CoreData' do |ss|
ss.dependency 'Persistence/Core'
ss.source_files = "Persistence/CoreData/**/*.swift"
end
s.subspec 'Realm' do |ss|
ss.dependency 'Persistence/Core'
ss.dependency 'RealmSwift', '3.1.1'
ss.source_files = "Persistence/Realm/**/*.swift"
end
end