-
Notifications
You must be signed in to change notification settings - Fork 3
/
TorchORM.podspec
31 lines (29 loc) · 1.3 KB
/
TorchORM.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
Pod::Spec.new do |s|
s.name = "TorchORM"
s.version = "0.1.12"
s.summary = "Torch - Boilerplate-free CoreData bridge."
s.description = <<-DESC
Torch is an ORM library allowing you to use structs instead of classes for your models.
DESC
s.homepage = "https://github.com/SwiftKit/Torch"
s.license = 'MIT'
s.author = { "Tadeas Kriz" => "[email protected]", "Filip Dolnik" => "[email protected]" }
s.source = {
:git => "https://github.com/SwiftKit/Torch.git",
:tag => s.version.to_s
}
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.9'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '9.0'
s.source_files = ['Source/**/*.swift']
s.preserve_paths = ['Generator/**/*', 'run', 'build_generator']
s.prepare_command = <<-CMD
git submodule update --init --recursive
./build_generator
CMD
s.frameworks = 'CoreData'
s.module_name = 'Torch'
s.requires_arc = true
s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' }
end