-
Notifications
You must be signed in to change notification settings - Fork 2
/
Flapjack.podspec
52 lines (44 loc) · 1.71 KB
/
Flapjack.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
40
41
42
43
44
45
46
47
48
49
50
51
52
Pod::Spec.new do |s|
s.name = 'Flapjack'
s.version = '1.0.2'
s.summary = 'A Swift data persistence API with support for Core Data.'
s.description = <<-DESC
Flapjack is an iOS/macOS/tvOS framework with 2 primary goals.
1. Help you abstract your model-focused database persistence layer from the rest
of your app
2. Simplify the database layer's API into an easy-to-use, easy-to-remember, full
Swift one
It lets you skip the boilerplate commonly associated with database layers like
Core Data and lets you introduce structured, sane data persistence in your app
sooner, letting you spend more of your time creating the app you really want. We
use it at O'Reilly Media and Safari Books Online for our iOS apps, and if you
like what you see, perhaps you will too.
DESC
s.homepage = 'https://github.com/oreillymedia/flapjack'
s.license = { type: 'MIT', file: 'LICENSE' }
s.author = { 'Ben Kreeger' => '[email protected]' }
s.source = {
git: 'https://github.com/oreillymedia/flapjack.git',
tag: s.version.to_s
}
s.ios.deployment_target = '13.0'
s.tvos.deployment_target = '13.0'
s.osx.deployment_target = '10.15'
s.frameworks = 'Foundation'
s.swift_version = '5.4'
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.frameworks = 'CoreData'
core.source_files = 'Sources/Core/**/*.swift'
end
s.subspec 'CoreData' do |core_data|
core_data.dependency 'Flapjack/Core'
core_data.frameworks = 'CoreData'
core_data.source_files = 'Sources/CoreData/**/*'
end
s.subspec 'UIKit' do |uikit|
uikit.dependency 'Flapjack/Core'
uikit.ios.frameworks = 'UIKit'
uikit.ios.source_files = 'Sources/UIKit/**/*'
end
end