forked from LinkedInAttic/LayoutKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLayoutKit.podspec
34 lines (29 loc) · 1.32 KB
/
LayoutKit.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
Pod::Spec.new do |spec|
spec.name = 'LayoutKit'
spec.version = '4.0.2'
spec.license = { :type => 'Apache License, Version 2.0' }
spec.homepage = 'http://layoutkit.org'
spec.authors = 'LinkedIn'
spec.summary = 'LayoutKit is a fast view layout library for iOS, macOS, and tvOS.'
spec.source = { :git => 'https://github.com/linkedin/LayoutKit.git', :tag => spec.version }
spec.source_files = 'Sources/**/*.swift'
spec.ios.deployment_target = '8.0'
spec.ios.frameworks = 'Foundation', 'CoreGraphics', 'UIKit'
spec.ios.exclude_files = 'Sources/AppKitSupport.swift'
spec.osx.deployment_target = '10.9'
spec.osx.frameworks = 'Foundation', 'CoreGraphics', 'AppKit'
spec.osx.exclude_files = [
'Sources/Internal/CGFloatExtension.swift',
'Sources/Internal/TextViewDefaultFont.swift',
'Sources/Internal/NSAttributedStringExtension.swift',
'Sources/Layouts/ButtonLayout.swift',
'Sources/Layouts/LabelLayout.swift',
'Sources/Layouts/TextViewLayout.swift',
'Sources/Text.swift',
'Sources/UIKitSupport.swift',
'Sources/Views/**'
]
spec.tvos.deployment_target = '9.0'
spec.tvos.frameworks = 'Foundation', 'CoreGraphics', 'UIKit'
spec.tvos.exclude_files = 'Sources/AppKitSupport.swift'
end