-
Notifications
You must be signed in to change notification settings - Fork 58
/
Genome.podspec
47 lines (42 loc) · 1.77 KB
/
Genome.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
Pod::Spec.new do |spec|
spec.name = 'Genome'
spec.version = '3.2.1'
spec.license = 'MIT'
spec.homepage = 'https://github.com/LoganWright/Genome'
spec.authors = { 'Logan Wright' => '[email protected]' }
spec.summary = 'A simple, type safe, failure driven mapping library for serializing data to models in Swift'
spec.source = { :git => 'https://github.com/LoganWright/Genome.git', :tag => "#{spec.version}" }
spec.ios.deployment_target = "8.0"
spec.osx.deployment_target = "10.9"
spec.watchos.deployment_target = "2.0"
spec.tvos.deployment_target = "9.0"
spec.requires_arc = true
spec.social_media_url = 'https://twitter.com/logmaestro'
spec.default_subspec = "Default"
spec.subspec "Default" do |ss|
ss.source_files = 'Sources/Genome/**/*.{swift}'
ss.exclude_files = 'Sources/Genome/Genome+Exports.swift'
ss.dependency 'Genome/Core'
ss.dependency 'Genome/Foundation'
end
spec.subspec "Core" do |ss|
ss.source_files = 'Sources/Genome/Mapping/**/*.{swift}'
ss.dependency 'Genome/Packages'
end
spec.subspec "Packages" do |ss|
ss.source_files = "Packages/**/*.{swift}"
ss.exclude_files = 'Packages/**/Node+Exports.swift', 'Packages/**/Tests/**/*.{swift}', 'Packages/**/Package.swift'
end
spec.subspec "Foundation" do |ss|
ss.source_files = 'Sources/GenomeFoundation/**/*.{swift}'
ss.exclude_files = 'Sources/GenomeFoundation/GenomeFoundation+Exports.swift'
ss.dependency 'Genome/Core'
end
spec.subspec "CoreData" do |ss|
ss.source_files = 'Sources/GenomeCoreData/**/*.{swift}'
ss.exclude_files = 'Sources/GenomeCoreData/GenomeCoreData+Exports.swift'
ss.dependency 'Genome/Foundation'
ss.dependency 'Genome/Core'
ss.frameworks = 'CoreData'
end
end