forked from contentful/contentful.swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Contentful.podspec
40 lines (31 loc) · 1.4 KB
/
Contentful.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
#!/usr/bin/ruby
require 'dotenv/load'
Pod::Spec.new do |spec|
spec.name = "Contentful"
spec.version = ENV['CONTENTFUL_SDK_VERSION']
spec.summary = "Swift SDK for Contentful's Content Delivery API."
spec.homepage = "https://github.com/contentful/contentful.swift/"
spec.social_media_url = 'https://twitter.com/contentful'
spec.license = {
:type => 'MIT',
:file => 'LICENSE'
}
spec.authors = { "JP Wright" => "[email protected]", "Boris Bügling" => "[email protected]" }
spec.source = { :git => "https://github.com/contentful/contentful.swift.git",
:tag => spec.version.to_s }
spec.requires_arc = true
spec.swift_version = '5'
spec.source_files = 'Sources/Contentful/*.swift'
## Platform specific source code.
spec.ios.source_files = 'Sources/Contentful/UIKit/*.swift'
spec.watchos.source_files = 'Sources/Contentful/UIKit/*.swift'
spec.tvos.source_files = 'Sources/Contentful/UIKit/*.swift'
spec.osx.source_files = 'Sources/Contentful/AppKit/*.swift'
spec.ios.deployment_target = '12.0'
spec.osx.deployment_target = '10.13'
spec.watchos.deployment_target = '4.0'
spec.tvos.deployment_target = '12.0'
spec.subspec 'ImageOptions' do |subspec|
subspec.source_files = 'Sources/Contentful/ImageOptions/*.swift'
end
end