forked from SwifterSwift/SwifterSwift
-
Notifications
You must be signed in to change notification settings - Fork 5
/
SwifterSwift.podspec
78 lines (64 loc) · 2.47 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
69
70
71
72
73
74
75
76
77
78
Pod::Spec.new do |s|
s.name = 'SwifterSwift'
s.version = '4.6.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' => '[email protected]' }
s.social_media_url = 'http://twitter.com/omaralbeik'
s.screenshot = 'https://raw.githubusercontent.com/SwifterSwift/SwifterSwift/master/Assets/logo.png'
s.documentation_url = 'http://swifterswift.com/docs'
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.swift_version = '4.2'
s.requires_arc = true
s.source = { git: 'https://github.com/SwifterSwift/SwifterSwift.git', tag: s.version.to_s }
s.source_files = 'Sources/Extensions/*.swift'
# 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.dependency 'SwifterSwift/Shared'
sp.source_files = 'Sources/Extensions/UIKit/*.swift'
end
# AppKit Extensions
s.subspec 'AppKit' do |sp|
sp.dependency 'SwifterSwift/Shared'
sp.source_files = 'Sources/Extensions/AppKit/*.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
# Shared Subspec Extensions
s.subspec 'Shared' do |sp|
sp.source_files = 'Sources/Extensions/Shared/*.swift'
end
# Dispatch Extensions
s.subspec 'Dispatch' do |sp|
sp.source_files = 'Sources/Extensions/Dispatch/*.swift'
end
end