forked from SwifterSwift/SwifterSwift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SwifterSwift.podspec
68 lines (56 loc) · 2.28 KB
/
SwifterSwift.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Pod::Spec.new do |s|
s.name = 'SwifterSwift'
s.version = '4.4.0'
s.summary = 'A handy collection of more than 500 native Swift extensions to boost your productivity.'
s.description = <<-DESC
SwifterSwift is a collection of over 500 native Swift extensions, with handy methods, syntactic sugar, and performance improvements for wide range of primitive data types, UIKit and Cocoa classes –over 500 in 1– for iOS, macOS, tvOS and watchOS.
DESC
s.homepage = 'https://github.com/SwifterSwift/SwifterSwift'
s.license = { type: 'MIT', file: 'LICENSE' }
s.authors = { 'Omar Albeik' => 'omaralbeik@gmail.com' }
s.social_media_url = 'http://twitter.com/omaralbeik'
s.screenshot = 'https://raw.githubusercontent.com/SwifterSwift/SwifterSwift/master/Assets/logo.png'
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.requires_arc = true
s.source = { git: 'https://github.com/SwifterSwift/SwifterSwift.git', tag: s.version.to_s }
s.source_files = 'Sources/**/*.swift'
s.pod_target_xcconfig = {
'SWIFT_VERSION' => '4.1'
}
s.documentation_url = 'http://swifterswift.com/docs'
# SwiftStdlib Extensions
s.subspec 'SwiftStdlib' do |sp|
sp.source_files = 'Sources/Extensions/SwiftStdlib/*.swift'
end
# Foundation Extensions
s.subspec 'Foundation' do |sp|
sp.source_files = 'Sources/Extensions/Foundation/*.swift'
end
# UIKit Extensions
s.subspec 'UIKit' do |sp|
sp.source_files = 'Sources/Extensions/UIKit/*.swift', 'Sources/Extensions/Shared/ColorExtensions.swift'
end
# AppKit Extensions
s.subspec 'AppKit' do |sp|
sp.source_files = 'Sources/Extensions/AppKit/*.swift', 'Sources/Extensionss/Shared/ColorExtensions.swift'
end
# CoreGraphics Extensions
s.subspec 'CoreGraphics' do |sp|
sp.source_files = 'Sources/Extensions/CoreGraphics/*.swift'
end
# CoreLocation Extensions
s.subspec 'CoreLocation' do |sp|
sp.source_files = 'Sources/Extensions/CoreLocation/*.swift'
end
# MapKit Extensions
s.subspec 'MapKit' do |sp|
sp.source_files = 'Sources/Extensions/MapKit/*.swift'
end
# SpriteKit Extensions
s.subspec 'SpriteKit' do |sp|
sp.source_files = 'Sources/Extensions/SpriteKit/*.swift'
end
end