- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDataStructExtension.podspec
More file actions
Latest commit
65 lines (50 loc) · 1.93 KB
/
Copy pathDataStructExtension.podspec
File metadata and controls
65 lines (50 loc) · 1.93 KB
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
#
# Be sure to run `pod lib lint DataStruct.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.newdo |s|
s.name='DataStructExtension'
s.version='0.3.0'
s.summary='Extend some classic data strures with Swift'
s.description=<<-DESC
Swift Implementation for Classic Data Strucutures.
DESC
s.homepage='https://github.com/install-b/DataStruct'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license={:type=>'MIT',:file=>'LICENSE'}
s.author={'shangenzhang'=>'zsg'}
s.source={:git=>'https://github.com/install-b/DataStruct.git',:tag=>s.version.to_s}
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target='9.0'
s.osx.deployment_target='10.10'
s.watchos.deployment_target='2.0'
s.tvos.deployment_target='9.0'
s.swift_version="4.2","5.0","5.1"
s.subspec'Queue'do |ss|
ss.source_files='Classes/Queue/**/*.swift'
end
s.subspec'Stack'do |ss|
ss.source_files='Classes/Stack/**/*.swift'
end
s.subspec'LinkList'do |ss|
ss.dependency'DataStructExtension/Queue'
ss.dependency'DataStructExtension/Stack'
ss.source_files='Classes/LinkList/**/*.swift'
end
s.subspec'BinaryTree'do |ss|
ss.source_files='Classes/BinaryTree/**/*.swift'
end
s.subspec'BitSet'do |ss|
ss.source_files='Classes/BitSet/**/*.swift'
end
s.subspec'BloomFilter'do |ss|
ss.dependency'DataStructExtension/BitSet'
ss.source_files='Classes/BloomFilter/**/*.swift'
end
s.subspec'Hash'do |ss|
ss.source_files='Classes/Hash/**/*.swift'
end
end