forked from ra1028/DifferenceKit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
DifferenceKit.podspec
45 lines (37 loc) · 1.61 KB
/
DifferenceKit.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
Pod::Spec.new do |spec|
spec.name = 'DifferenceKit'
spec.version = '1.0.0'
spec.author = { 'ra1028' => '[email protected]' }
spec.homepage = 'https://github.com/ra1028/DifferenceKit'
spec.documentation_url = 'https://ra1028.github.io/DifferenceKit'
spec.summary = 'A fast and flexible O(n) difference algorithm framework for Swift collection.'
spec.description = <<-DESC
A fast and flexible O(n) difference algorithm framework for Swift collection.
The algorithm is optimized based on the Paul Heckel's algorithm.
DESC
spec.source = { :git => 'https://github.com/ra1028/DifferenceKit.git', :tag => spec.version.to_s }
spec.license = { :type => 'MIT', :file => 'LICENSE' }
spec.requires_arc = true
spec.default_subspecs = 'Core', 'UIKitExtension'
spec.ios.deployment_target = '9.0'
spec.tvos.deployment_target = '9.0'
spec.osx.deployment_target = '10.9'
spec.watchos.deployment_target = '2.0'
spec.subspec 'Core' do |subspec|
subspec.source_files = 'Sources/*.swift'
end
spec.subspec 'UIKitExtension' do |subspec|
subspec.dependency 'DifferenceKit/Core'
source_files = 'Sources/Extensions/UIKitExtension.swift'
frameworks = 'UIKit'
subspec.ios.source_files = source_files
subspec.tvos.source_files = source_files
subspec.ios.frameworks = frameworks
subspec.tvos.frameworks = frameworks
end
spec.subspec 'AppKitExtension' do |subspec|
subspec.dependency 'DifferenceKit/Core'
subspec.osx.source_files = 'Sources/Extensions/AppKitExtension.swift'
subspec.osx.frameworks = 'AppKit'
end
end