forked from behrang/YamlSwift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathYaml.podspec
37 lines (29 loc) · 2.27 KB
/
Yaml.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
Pod::Spec.new do |s|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.name = "Yaml"
s.version = "3.4.4"
s.summary = "Load YAML and JSON documents using Swift"
s.description = <<-DESC
YamlSwift parses a string of YAML document(s) (or a JSON document)
and returns a Yaml enum value representing that string.
DESC
s.homepage = "https://github.com/behrang/YamlSwift"
s.swift_version = "5.0"
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.license = "MIT"
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.9"
s.tvos.deployment_target = "9.0"
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.source = { :git => "https://github.com/behrang/YamlSwift.git", :tag => s.version }
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.source_files = "Sources/Yaml/*.swift"
# --- Target xcconfig ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.pod_target_xcconfig = {
'SWIFT_VERSION' => '5.0',
'APPLICATION_EXTENSION_API_ONLY' => 'YES',
}
end